Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.639/1.639, allocations: 288.2 MB / 303.2 MB, free: 8.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 183.2 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.4 MB / 0.6305 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008643/0.0008642, allocations: 84.64 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004308/0.0004308, allocations: 11.31 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2469, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.003567/0.2505, allocations: 3.484 MB / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001879/0.2524, allocations: 1.486 MB / 0.9843 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.2526, allocations: 4 kB / 0.9843 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.2528, allocations: 71.53 kB / 0.9844 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003584/0.2532, allocations: 159.5 kB / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.2536, allocations: 164.6 kB / 0.9847 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.2539, allocations: 299.4 kB / 0.985 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003439/0.2542, allocations: 389.7 kB / 0.9854 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.2544, allocations: 155.5 kB / 0.9855 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.2547, allocations: 163.3 kB / 0.9857 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.637e-05/0.2547, allocations: 20 kB / 0.9857 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.2549, allocations: 75.89 kB / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.288e-05/0.255, allocations: 119.6 kB / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.901e-05/0.255, allocations: 93.58 kB / 0.986 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.2554, allocations: 399.2 kB / 0.9863 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2554, allocations: 0 / 0.9863 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2554, allocations: 0 / 0.9863 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.2554, allocations: 0 / 0.9863 GB, free: 20.51 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009456/0.2563, allocations: 0.6239 MB / 0.987 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.2564, allocations: 16.02 kB / 0.987 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.429e-05/0.2565, allocations: 70.53 kB / 0.987 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006701/0.2571, allocations: 119.5 kB / 0.9872 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.2575, allocations: 298.4 kB / 0.9874 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.23e-05/0.2576, allocations: 50.7 kB / 0.9875 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.403e-05/0.2576, allocations: 39.88 kB / 0.9875 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006784/0.2583, allocations: 0.5008 MB / 0.988 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.2583, allocations: 0 / 0.988 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/0.2584, allocations: 12 kB / 0.988 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-05/0.2584, allocations: 36.92 kB / 0.9881 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005931/0.259, allocations: 391.6 kB / 0.9884 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/0.2611, allocations: 2.227 MB / 0.9906 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006735/0.2618, allocations: 278.6 kB / 0.9909 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.2618, allocations: 4 kB / 0.9909 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.2618, allocations: 38.56 kB / 0.9909 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/0.2618, allocations: 0 / 0.9909 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.001352/0.2632, allocations: 0.5857 MB / 0.9915 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.2632, allocations: 63.3 kB / 0.9915 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.2634, allocations: 224.9 kB / 0.9918 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.2635, allocations: 33.7 kB / 0.9918 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.435e-05/0.2636, allocations: 207.7 kB / 0.992 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.2636, allocations: 74.92 kB / 0.9921 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/0.2636, allocations: 4 kB / 0.9921 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.2637, allocations: 326.8 kB / 0.9924 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.2639, allocations: 107.9 kB / 0.9925 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.2641, allocations: 174.9 kB / 0.9926 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.2643, allocations: 128.9 kB / 0.9928 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2643, allocations: 0 / 0.9928 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007395/0.2651, allocations: 400.2 kB / 0.9932 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001579/0.2652, allocations: 0.871 MB / 0.994 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2653, allocations: 8 kB / 0.994 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004702/0.2657, allocations: 105.6 kB / 0.9941 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.266, allocations: 59.91 kB / 0.9942 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002429/0.2684, allocations: 2.844 MB / 0.9969 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.2687, allocations: 43.92 kB / 0.997 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.2687, allocations: 8 kB / 0.997 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.2687, allocations: 7.938 kB / 0.997 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00066/0.2694, allocations: 324.5 kB / 0.9973 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.2694, allocations: 0 / 0.9973 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002701/0.2697, allocations: 80.91 kB / 0.9974 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.2699, allocations: 59.91 kB / 0.9974 GB, free: 8.281 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.2715, allocations: 1.511 MB / 0.9989 GB, free: 6.641 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.2717, allocations: 35.73 kB / 0.999 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.2717, allocations: 12 kB / 0.999 GB, free: 6.594 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001982/0.2719, allocations: 249 kB / 0.9992 GB, free: 6.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.272, allocations: 23.77 kB / 0.9992 GB, free: 6.316 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.913e-05/0.272, allocations: 30.17 kB / 0.9993 GB, free: 6.285 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2721, allocations: 4 kB / 0.9993 GB, free: 6.281 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2721, allocations: 0 / 0.9993 GB, free: 6.281 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.2721, allocations: 0 / 0.9993 GB, free: 6.281 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003322/0.2724, allocations: 369.4 kB / 0.9996 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2724, allocations: 7.953 kB / 0.9996 GB, free: 5.863 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.2726, allocations: 39.91 kB / 0.9997 GB, free: 5.824 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003485/0.2729, allocations: 105.6 kB / 0.9998 GB, free: 5.715 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.273, allocations: 4 kB / 0.9998 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/0.275, allocations: 2.826 MB / 1.003 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2751, allocations: 0 / 1.003 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000683/0.2757, allocations: 419.6 kB / 1.003 GB, free: 2.191 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.809e-05/0.2759, allocations: 116.8 kB / 1.003 GB, free: 2.059 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.2759, allocations: 4 kB / 1.003 GB, free: 2.055 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.2761, allocations: 19.98 kB / 1.003 GB, free: 2.035 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.2761, allocations: 15.98 kB / 1.003 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.2762, allocations: 7.953 kB / 1.003 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001076/0.2763, allocations: 160.5 kB / 1.003 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2763, allocations: 0 / 1.003 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005949/0.2769, allocations: 171.4 kB / 1.003 GB, free: 1.684 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008371/0.2777, allocations: 0.9479 MB / 1.004 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001736/0.2795, allocations: 0.7763 MB / 1.005 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2795, allocations: 3.938 kB / 1.005 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007723/0.2803, allocations: 376 kB / 1.005 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.2806, allocations: 40.64 kB / 1.005 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003439/0.2841, allocations: 3.025 MB / 1.008 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/0.2846, allocations: 0.8191 MB / 1.009 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002431/0.2848, allocations: 62.22 kB / 1.009 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.285, allocations: 87.41 kB / 1.009 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of SimCode: time 1.272e-06/0.285, allocations: 4 kB / 1.009 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/0.3058, allocations: 6.479 MB / 1.016 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/0.3061, allocations: 224.2 kB / 1.016 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.177, allocations: 4 kB / 1.016 GB, free: 4.805 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)