Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008743/0.0008745, allocations: 183.7 kB / 16.92 MB, free: 6.777 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.396/1.396, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7401/0.7401, allocations: 123 MB / 415.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003341, allocations: 9.281 kB / 0.4933 GB, free: 14.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4737/0.474, allocations: 79.28 MB / 0.5707 GB, free: 9.914 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002876/0.4769, allocations: 2.182 MB / 0.5729 GB, free: 9.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.4781, allocations: 0.779 MB / 0.5736 GB, free: 8.906 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.781e-05/0.4781, allocations: 2.656 kB / 0.5736 GB, free: 8.906 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.4783, allocations: 26.83 kB / 0.5737 GB, free: 8.891 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.4786, allocations: 98.58 kB / 0.5738 GB, free: 8.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.4789, allocations: 106.6 kB / 0.5739 GB, free: 8.785 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003375/0.4792, allocations: 288.9 kB / 0.5741 GB, free: 8.695 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000243/0.4795, allocations: 183.1 kB / 0.5743 GB, free: 8.555 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.982e-05/0.4795, allocations: 63.84 kB / 0.5744 GB, free: 8.527 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.4798, allocations: 96.58 kB / 0.5745 GB, free: 8.488 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.4798, allocations: 6.781 kB / 0.5745 GB, free: 8.488 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/0.48, allocations: 141.6 kB / 0.5746 GB, free: 8.438 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.95e-05/0.4801, allocations: 43.94 kB / 0.5746 GB, free: 8.426 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.669e-05/0.4802, allocations: 87.31 kB / 0.5747 GB, free: 8.359 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.4805, allocations: 221.3 kB / 0.5749 GB, free: 8.297 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4805, allocations: 3.938 kB / 0.5749 GB, free: 8.293 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4805, allocations: 0 / 0.5749 GB, free: 8.293 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.4805, allocations: 0 / 0.5749 GB, free: 8.293 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004947/0.481, allocations: 427.9 kB / 0.5753 GB, free: 7.875 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.4811, allocations: 10.03 kB / 0.5754 GB, free: 7.875 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003689/0.4815, allocations: 48.11 kB / 0.5754 GB, free: 7.863 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.4817, allocations: 220.9 kB / 0.5756 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.4817, allocations: 9.969 kB / 0.5756 GB, free: 7.633 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.4817, allocations: 13.59 kB / 0.5756 GB, free: 7.629 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003426/0.4821, allocations: 230.1 kB / 0.5759 GB, free: 7.496 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4821, allocations: 0.75 kB / 0.5759 GB, free: 7.496 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.4821, allocations: 9.281 kB / 0.5759 GB, free: 7.488 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.227e-05/0.4821, allocations: 19.45 kB / 0.5759 GB, free: 7.484 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002336/0.4824, allocations: 143.5 kB / 0.576 GB, free: 7.438 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008676/0.4833, allocations: 1.134 MB / 0.5771 GB, free: 6.363 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.284e-05/0.4833, allocations: 41.56 kB / 0.5772 GB, free: 6.332 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.272e-05/0.4834, allocations: 16.94 kB / 0.5772 GB, free: 6.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.4834, allocations: 1.188 kB / 0.5772 GB, free: 6.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.4834, allocations: 39.84 kB / 0.5772 GB, free: 6.273 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.4834, allocations: 0 / 0.5772 GB, free: 6.273 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001858/0.4836, allocations: 74.66 kB / 0.5773 GB, free: 6.227 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.4836, allocations: 56.75 kB / 0.5773 GB, free: 6.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.4838, allocations: 167.1 kB / 0.5775 GB, free: 6.043 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.387e-06/0.4838, allocations: 31.08 kB / 0.5775 GB, free: 6.008 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/0.4839, allocations: 142.9 kB / 0.5777 GB, free: 5.879 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.188e-05/0.4839, allocations: 12.77 kB / 0.5777 GB, free: 5.871 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.526e-05/0.4839, allocations: 18.27 kB / 0.5777 GB, free: 5.852 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.877e-05/0.484, allocations: 324.2 kB / 0.578 GB, free: 5.531 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.053e-05/0.484, allocations: 20.38 kB / 0.578 GB, free: 5.527 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.186e-05/0.4841, allocations: 90.3 kB / 0.5781 GB, free: 5.426 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.4842, allocations: 125.4 kB / 0.5782 GB, free: 5.305 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4842, allocations: 0.8125 kB / 0.5782 GB, free: 5.305 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001915/0.4844, allocations: 133.7 kB / 0.5784 GB, free: 5.234 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.646e-05/0.4845, allocations: 168.3 kB / 0.5785 GB, free: 5.043 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4845, allocations: 3.844 kB / 0.5785 GB, free: 5.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.4845, allocations: 2.078 kB / 0.5785 GB, free: 5.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.4846, allocations: 27.39 kB / 0.5786 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.4846, allocations: 3.688 kB / 0.5786 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.149e-05/0.4847, allocations: 18.84 kB / 0.5786 GB, free: 5.027 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.4847, allocations: 8.938 kB / 0.5786 GB, free: 5.023 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.006e-06/0.4848, allocations: 4.281 kB / 0.5786 GB, free: 5.023 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001788/0.4849, allocations: 104.5 kB / 0.5787 GB, free: 4.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.485, allocations: 2.188 kB / 0.5787 GB, free: 4.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.488e-06/0.485, allocations: 3.781 kB / 0.5787 GB, free: 4.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.025e-05/0.485, allocations: 25.67 kB / 0.5787 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4851, allocations: 4.281 kB / 0.5787 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.778e-05/0.4851, allocations: 13.22 kB / 0.5787 GB, free: 4.969 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.4851, allocations: 10.17 kB / 0.5787 GB, free: 4.965 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (14): * Single equations (assignments): 14 * 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 9.551e-05/0.4852, allocations: 220.4 kB / 0.579 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.4853, allocations: 13.83 kB / 0.579 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.4853, allocations: 17.09 kB / 0.579 GB, free: 4.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.4853, allocations: 1.734 kB / 0.579 GB, free: 4.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4853, allocations: 0 / 0.579 GB, free: 4.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.4853, allocations: 5.234 kB / 0.579 GB, free: 4.727 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/0.4857, allocations: 466.3 kB / 0.5794 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4857, allocations: 1.406 kB / 0.5794 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.4857, allocations: 10.77 kB / 0.5794 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.4858, allocations: 5.906 kB / 0.5795 GB, free: 4.277 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.4858, allocations: 5.688 kB / 0.5795 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4858, allocations: 1.25 kB / 0.5795 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4858, allocations: 1.719 kB / 0.5795 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.877e-05/0.4859, allocations: 119.1 kB / 0.5796 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.4859, allocations: 91.98 kB / 0.5797 GB, free: 4.059 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.486, allocations: 5.344 kB / 0.5797 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.461e-05/0.486, allocations: 2.031 kB / 0.5797 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.486, allocations: 5.406 kB / 0.5797 GB, free: 4.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.486, allocations: 11.61 kB / 0.5797 GB, free: 4.043 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.753e-05/0.4861, allocations: 126.5 kB / 0.5798 GB, free: 3.953 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4861, allocations: 0 / 0.5798 GB, free: 3.953 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003505/0.4865, allocations: 52.88 kB / 0.5799 GB, free: 3.941 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 7.484e-05/0.4865, allocations: 94.89 kB / 0.5799 GB, free: 3.852 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.4868, allocations: 113 kB / 0.5801 GB, free: 3.812 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4868, allocations: 0 / 0.5801 GB, free: 3.812 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.005e-05/0.4868, allocations: 16.66 kB / 0.5801 GB, free: 3.809 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.4871, allocations: 28.12 kB / 0.5801 GB, free: 3.797 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004851/0.4876, allocations: 332.9 kB / 0.5804 GB, free: 3.547 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.4877, allocations: 0.7236 MB / 0.5811 GB, free: 2.844 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.557e-05/0.4878, allocations: 28.91 kB / 0.5812 GB, free: 2.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.73e-05/0.4879, allocations: 12.84 kB / 0.5812 GB, free: 2.832 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4879, allocations: 4 kB / 0.5812 GB, free: 2.828 MB / 430.1 MB Notification: Performance of Templates: time 0.00339/0.4913, allocations: 0.8048 MB / 0.582 GB, free: 2.734 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)