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.001248/0.001248, allocations: 109.6 kB / 16.42 MB, free: 6.496 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.001283/0.001283, allocations: 188.3 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002294/0.002294, allocations: 287.4 kB / 291.5 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9387/0.9387, allocations: 169.3 MB / 0.499 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 87.86 kB / 0.6821 GB, free: 7.039 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.4203, allocations: 86.97 MB / 0.767 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad): time 0.00544/0.4258, allocations: 3.849 MB / 0.7708 GB, free: 284 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002807/0.4286, allocations: 1.776 MB / 0.7725 GB, free: 14.49 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002727/0.4289, allocations: 4 kB / 0.7725 GB, free: 14.49 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.4304, allocations: 446.2 kB / 0.773 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006481/0.431, allocations: 242.8 kB / 0.7732 GB, free: 13.81 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006541/0.4317, allocations: 258.2 kB / 0.7734 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006638/0.4324, allocations: 0.4945 MB / 0.7739 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006125/0.433, allocations: 356.9 kB / 0.7743 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003057/0.4333, allocations: 191.4 kB / 0.7744 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004687/0.4338, allocations: 251 kB / 0.7747 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.528e-05/0.4339, allocations: 32 kB / 0.7747 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000351/0.4342, allocations: 183.6 kB / 0.7749 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.4344, allocations: 135.7 kB / 0.775 GB, free: 11.94 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.4346, allocations: 179.1 kB / 0.7752 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006994/0.4353, allocations: 496.9 kB / 0.7757 GB, free: 11.28 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4353, allocations: 0 / 0.7757 GB, free: 11.28 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4353, allocations: 0 / 0.7757 GB, free: 11.28 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.888e-05/0.4353, allocations: 4 kB / 0.7757 GB, free: 11.28 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.001373/0.4367, allocations: 0.651 MB / 0.7763 GB, free: 10.58 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.4368, allocations: 12.03 kB / 0.7763 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005829/0.4374, allocations: 80.41 kB / 0.7764 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.4378, allocations: 312.5 kB / 0.7767 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.4378, allocations: 21.03 kB / 0.7767 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/0.4379, allocations: 32.36 kB / 0.7767 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008147/0.4387, allocations: 486 kB / 0.7772 GB, free: 9.586 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.4387, allocations: 3.938 kB / 0.7772 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.819e-05/0.4387, allocations: 19.92 kB / 0.7772 GB, free: 9.562 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.829e-05/0.4388, allocations: 40.62 kB / 0.7773 GB, free: 9.523 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007684/0.4396, allocations: 366.3 kB / 0.7776 GB, free: 9.168 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002241/0.4418, allocations: 2.033 MB / 0.7796 GB, free: 6.934 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005603/0.4424, allocations: 214.8 kB / 0.7798 GB, free: 6.715 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003708/0.4428, allocations: 148.8 kB / 0.7799 GB, free: 6.566 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.4428, allocations: 8 kB / 0.7799 GB, free: 6.559 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.4429, allocations: 30.56 kB / 0.78 GB, free: 6.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.823e-06/0.4429, allocations: 0 / 0.78 GB, free: 6.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.001187/0.4441, allocations: 427 kB / 0.7804 GB, free: 6.074 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.4441, allocations: 51.41 kB / 0.7804 GB, free: 6.012 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.4444, allocations: 262.6 kB / 0.7807 GB, free: 5.746 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.4444, allocations: 33.7 kB / 0.7807 GB, free: 5.707 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.4446, allocations: 207.7 kB / 0.7809 GB, free: 5.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.633e-05/0.4446, allocations: 59.11 kB / 0.781 GB, free: 5.441 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.182e-05/0.4447, allocations: 61.89 kB / 0.781 GB, free: 5.371 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.4448, allocations: 338.8 kB / 0.7814 GB, free: 5.031 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.4451, allocations: 101.9 kB / 0.7815 GB, free: 4.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003438/0.4455, allocations: 203.6 kB / 0.7816 GB, free: 4.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005535/0.446, allocations: 304.4 kB / 0.7819 GB, free: 4.336 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.446, allocations: 4 kB / 0.7819 GB, free: 4.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007524/0.4468, allocations: 357.9 kB / 0.7823 GB, free: 3.973 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.4468, allocations: 11.94 kB / 0.7823 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.4468, allocations: 4 kB / 0.7823 GB, free: 3.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001872/0.447, allocations: 36.83 kB / 0.7823 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.4473, allocations: 67.89 kB / 0.7824 GB, free: 3.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/0.4485, allocations: 1.445 MB / 0.7838 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.4487, allocations: 43.66 kB / 0.7838 GB, free: 2.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.4488, allocations: 16 kB / 0.7839 GB, free: 2.215 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003342/0.4491, allocations: 211 kB / 0.7841 GB, free: 2.008 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003021/0.4494, allocations: 217.6 kB / 0.7843 GB, free: 1.738 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005294/0.45, allocations: 328.8 kB / 0.7846 GB, free: 1.363 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.943e-06/0.45, allocations: 0 / 0.7846 GB, free: 1.363 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006755/0.4507, allocations: 336.8 kB / 0.7849 GB, free: 1.027 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.4507, allocations: 4 kB / 0.7849 GB, free: 1.023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4507, allocations: 4 kB / 0.7849 GB, free: 1.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.4507, allocations: 8.5 kB / 0.7849 GB, free: 1.012 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.451, allocations: 75.89 kB / 0.785 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.451, allocations: 11.92 kB / 0.785 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.4513, allocations: 39.81 kB / 0.785 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.4513, allocations: 12 kB / 0.7851 GB, free: 0.875 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.0001671/0.4515, allocations: 196.1 kB / 0.7852 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.96e-05/0.4516, allocations: 23.72 kB / 0.7853 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.019e-05/0.4517, allocations: 38.17 kB / 0.7853 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.4517, allocations: 0 / 0.7853 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.4517, allocations: 0 / 0.7853 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.4518, allocations: 120.7 kB / 0.7854 GB, free: 488 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.4519, allocations: 4 kB / 0.7854 GB, free: 484 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.4521, allocations: 15.98 kB / 0.7854 GB, free: 468 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.861e-05/0.4522, allocations: 19.91 kB / 0.7855 GB, free: 448 kB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007583/0.4529, allocations: 337.4 kB / 0.7858 GB, free: 100 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008696/0.4538, allocations: 496.4 kB / 0.7862 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002303/0.4541, allocations: 95.42 kB / 0.7863 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001548/0.4542, allocations: 186 kB / 0.7865 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of Backend: time 5.11e-07/0.4542, allocations: 0 / 0.7865 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001363/0.4556, allocations: 0.5791 MB / 0.7871 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001119/0.4567, allocations: 1.02 MB / 0.7881 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of Templates: time 0.009085/0.4658, allocations: 4.864 MB / 0.7928 GB, free: 8.844 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)