Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad") translateModel(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 115.3 kB / 16.42 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 185.7 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002255/0.002255, allocations: 284.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9635/0.9635, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 99.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4702/0.4724, allocations: 86.98 MB / 0.767 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad): time 0.005087/0.4775, allocations: 3.85 MB / 0.7708 GB, free: 184 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002965/0.4805, allocations: 1.761 MB / 0.7725 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/0.4807, allocations: 7.938 kB / 0.7725 GB, free: 14.4 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.4822, allocations: 454.1 kB / 0.773 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000503/0.4827, allocations: 246.8 kB / 0.7732 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005749/0.4832, allocations: 254.4 kB / 0.7734 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005173/0.4838, allocations: 0.4946 MB / 0.7739 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000613/0.4844, allocations: 360.9 kB / 0.7743 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.4846, allocations: 191.4 kB / 0.7745 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004335/0.4851, allocations: 243 kB / 0.7747 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.585e-05/0.4851, allocations: 28 kB / 0.7747 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003279/0.4855, allocations: 183.6 kB / 0.7749 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.4856, allocations: 131.7 kB / 0.775 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.4858, allocations: 183.1 kB / 0.7752 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005099/0.4863, allocations: 0.4892 MB / 0.7757 GB, free: 11.19 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4863, allocations: 0 / 0.7757 GB, free: 11.19 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4863, allocations: 0 / 0.7757 GB, free: 11.19 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.4864, allocations: 0 / 0.7757 GB, free: 11.19 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001106/0.4875, allocations: 0.6588 MB / 0.7763 GB, free: 10.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4875, allocations: 8.031 kB / 0.7763 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005371/0.4881, allocations: 88.41 kB / 0.7764 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.4885, allocations: 300.5 kB / 0.7767 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.4885, allocations: 21.03 kB / 0.7767 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.952e-05/0.4886, allocations: 36.36 kB / 0.7767 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008112/0.4894, allocations: 497.9 kB / 0.7772 GB, free: 9.484 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.4894, allocations: 0 / 0.7772 GB, free: 9.484 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.4895, allocations: 19.98 kB / 0.7772 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.981e-05/0.4896, allocations: 40.62 kB / 0.7773 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007118/0.4903, allocations: 366.2 kB / 0.7776 GB, free: 9.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.4924, allocations: 2.029 MB / 0.7796 GB, free: 6.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005757/0.493, allocations: 214.7 kB / 0.7798 GB, free: 6.621 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003874/0.4934, allocations: 148.8 kB / 0.7799 GB, free: 6.473 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.4934, allocations: 11.94 kB / 0.78 GB, free: 6.461 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.4934, allocations: 30.56 kB / 0.78 GB, free: 6.422 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.4934, allocations: 0 / 0.78 GB, free: 6.422 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.001086/0.4945, allocations: 423 kB / 0.7804 GB, free: 5.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.4946, allocations: 55.41 kB / 0.7804 GB, free: 5.914 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.4948, allocations: 266.7 kB / 0.7807 GB, free: 5.645 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.4949, allocations: 25.7 kB / 0.7807 GB, free: 5.613 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.495, allocations: 215.7 kB / 0.7809 GB, free: 5.398 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.4951, allocations: 63.09 kB / 0.781 GB, free: 5.336 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-05/0.4952, allocations: 61.89 kB / 0.781 GB, free: 5.266 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.4953, allocations: 334.8 kB / 0.7814 GB, free: 4.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.4956, allocations: 97.91 kB / 0.7815 GB, free: 4.832 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003137/0.4959, allocations: 207.6 kB / 0.7817 GB, free: 4.578 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005474/0.4965, allocations: 309.2 kB / 0.782 GB, free: 4.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4965, allocations: 0 / 0.782 GB, free: 4.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007321/0.4972, allocations: 357.7 kB / 0.7823 GB, free: 3.871 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.4972, allocations: 8 kB / 0.7823 GB, free: 3.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.4973, allocations: 4 kB / 0.7823 GB, free: 3.859 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/0.4974, allocations: 33.28 kB / 0.7823 GB, free: 3.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.4977, allocations: 67.89 kB / 0.7824 GB, free: 3.758 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.4989, allocations: 1.437 MB / 0.7838 GB, free: 2.184 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.4991, allocations: 39.67 kB / 0.7838 GB, free: 2.145 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.4992, allocations: 16.09 kB / 0.7839 GB, free: 2.129 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003434/0.4995, allocations: 220.5 kB / 0.7841 GB, free: 1.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003094/0.4999, allocations: 221.5 kB / 0.7843 GB, free: 1.637 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005292/0.5004, allocations: 323.1 kB / 0.7846 GB, free: 1.266 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.913e-06/0.5004, allocations: 4 kB / 0.7846 GB, free: 1.262 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006545/0.5011, allocations: 334.8 kB / 0.7849 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/0.5011, allocations: 11.94 kB / 0.7849 GB, free: 0.918 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.5011, allocations: 4 kB / 0.7849 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.799e-06/0.5011, allocations: 4 kB / 0.7849 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.5014, allocations: 75.89 kB / 0.785 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.693e-05/0.5014, allocations: 11.92 kB / 0.785 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.5016, allocations: 31.83 kB / 0.785 GB, free: 0.793 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.5017, allocations: 12.12 kB / 0.7851 GB, free: 0.7812 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.5018, allocations: 208.9 kB / 0.7853 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.894e-05/0.5018, allocations: 23.72 kB / 0.7853 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.062e-05/0.5019, allocations: 30.19 kB / 0.7853 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.5019, allocations: 3.984 kB / 0.7853 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5019, allocations: 0 / 0.7853 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.502, allocations: 112.8 kB / 0.7854 GB, free: 392 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.5021, allocations: 4 kB / 0.7854 GB, free: 388 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.5023, allocations: 23.97 kB / 0.7854 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/0.5023, allocations: 15.92 kB / 0.7855 GB, free: 348 kB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006787/0.503, allocations: 328.4 kB / 0.7858 GB, free: 12 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007876/0.5038, allocations: 0.4967 MB / 0.7863 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000224/0.504, allocations: 88.02 kB / 0.7863 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001517/0.5042, allocations: 186 kB / 0.7865 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of Backend: time 4.61e-07/0.5042, allocations: 0 / 0.7865 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001331/0.5055, allocations: 0.5914 MB / 0.7871 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001171/0.5067, allocations: 1.007 MB / 0.7881 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of Templates: time 0.008908/0.5157, allocations: 4.864 MB / 0.7928 GB, free: 8.75 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)