Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 109.2 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.0017/0.0017, 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002086, allocations: 285.9 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.9175/0.9175, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 91.86 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4247/0.4266, allocations: 86.98 MB / 0.7671 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002366/0.4289, allocations: 1.613 MB / 0.7686 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005981/0.4296, allocations: 337.6 kB / 0.769 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.32e-05/0.4296, allocations: 0 / 0.769 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.251e-05/0.4297, allocations: 15.86 kB / 0.769 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.421e-05/0.4297, allocations: 19.8 kB / 0.769 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.43, allocations: 79.78 kB / 0.7691 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.4302, allocations: 107.6 kB / 0.7692 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.4303, allocations: 43.62 kB / 0.7692 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.941e-05/0.4304, allocations: 35.91 kB / 0.7692 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.234e-05/0.4305, allocations: 43.78 kB / 0.7693 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.4305, allocations: 8 kB / 0.7693 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.469e-05/0.4306, allocations: 39.97 kB / 0.7693 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.284e-05/0.4306, allocations: 19.91 kB / 0.7693 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.094e-05/0.4307, allocations: 43.8 kB / 0.7694 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.4308, allocations: 107.6 kB / 0.7695 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4308, allocations: 4 kB / 0.7695 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4308, allocations: 0 / 0.7695 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.4308, allocations: 7.938 kB / 0.7695 GB, free: 1.414 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005074/0.4314, allocations: 401.7 kB / 0.7699 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.4314, allocations: 12.03 kB / 0.7699 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.4328, allocations: 156.6 kB / 0.77 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.4329, allocations: 192.1 kB / 0.7702 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.4329, allocations: 8.375 kB / 0.7702 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.433, allocations: 4.375 kB / 0.7702 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000621/0.4336, allocations: 170.1 kB / 0.7704 GB, free: 408 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.4336, allocations: 192 / 0.7704 GB, free: 408 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.4336, allocations: 7.938 kB / 0.7704 GB, free: 400 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.4336, allocations: 7.984 kB / 0.7704 GB, free: 392 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009359/0.4346, allocations: 198.5 kB / 0.7706 GB, free: 196 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.4357, allocations: 472.3 kB / 0.7711 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.4369, allocations: 194.4 kB / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003603/0.4372, allocations: 68.8 kB / 0.7713 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.4373, allocations: 0 / 0.7713 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.4373, allocations: 30.56 kB / 0.7713 GB, free: 15.37 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4373, allocations: 0 / 0.7713 GB, free: 15.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.001188/0.4385, allocations: 229.2 kB / 0.7716 GB, free: 15.14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.4385, allocations: 51.41 kB / 0.7716 GB, free: 15.08 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.4388, allocations: 189.3 kB / 0.7718 GB, free: 14.89 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.4388, allocations: 29.64 kB / 0.7718 GB, free: 14.85 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.4389, allocations: 115.9 kB / 0.7719 GB, free: 14.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.4389, allocations: 3.906 kB / 0.7719 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.849e-05/0.439, allocations: 33.67 kB / 0.772 GB, free: 14.69 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.33e-05/0.4391, allocations: 318.8 kB / 0.7723 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004637/0.4395, allocations: 88.78 kB / 0.7723 GB, free: 14.28 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004704/0.44, allocations: 102.5 kB / 0.7724 GB, free: 14.17 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008093/0.4408, allocations: 158.4 kB / 0.7726 GB, free: 14.01 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4408, allocations: 0 / 0.7726 GB, free: 14.01 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009991/0.4418, allocations: 225.3 kB / 0.7728 GB, free: 13.78 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.4419, allocations: 4 kB / 0.7728 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.4419, allocations: 0 / 0.7728 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.4419, allocations: 7.938 kB / 0.7728 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.4422, allocations: 39.94 kB / 0.7729 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.4422, allocations: 0 / 0.7729 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/0.4426, allocations: 43.89 kB / 0.7729 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.4427, allocations: 7.984 kB / 0.7729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002269/0.4429, allocations: 128.1 kB / 0.773 GB, free: 13.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001848/0.4431, allocations: 73.92 kB / 0.7731 GB, free: 13.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002723/0.4434, allocations: 109.9 kB / 0.7732 GB, free: 13.33 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.72e-07/0.4434, allocations: 0 / 0.7732 GB, free: 13.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004342/0.4438, allocations: 137.5 kB / 0.7733 GB, free: 13.19 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/0.4438, allocations: 4 kB / 0.7733 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/0.4438, allocations: 7.938 kB / 0.7734 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-06/0.4438, allocations: 0 / 0.7734 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.444, allocations: 27.97 kB / 0.7734 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.444, allocations: 7.938 kB / 0.7734 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.4443, allocations: 27.97 kB / 0.7734 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.4443, allocations: 4 kB / 0.7734 GB, free: 13.11 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.4444, allocations: 176.3 kB / 0.7736 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.4445, allocations: 7.906 kB / 0.7736 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.06e-05/0.4445, allocations: 16.23 kB / 0.7736 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.4445, allocations: 3.938 kB / 0.7736 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.4445, allocations: 8.062 kB / 0.7736 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.873e-05/0.4446, allocations: 96.94 kB / 0.7737 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.4447, allocations: 11.98 kB / 0.7737 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003084/0.445, allocations: 23.91 kB / 0.7737 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.445, allocations: 4 kB / 0.7738 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009755/0.446, allocations: 252.8 kB / 0.774 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000828/0.4469, allocations: 334.8 kB / 0.7743 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003653/0.4472, allocations: 71.89 kB / 0.7744 GB, free: 12.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001873/0.4474, allocations: 143.2 kB / 0.7745 GB, free: 11.93 MB / 0.545 GB Notification: Performance of Backend: time 4.61e-07/0.4474, allocations: 0 / 0.7745 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.4485, allocations: 226.2 kB / 0.7747 GB, free: 11.7 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005663/0.4491, allocations: 0.6405 MB / 0.7754 GB, free: 11.01 MB / 0.545 GB Notification: Performance of Templates: time 0.005221/0.4543, allocations: 2.745 MB / 0.778 GB, free: 8.281 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)