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.0009152/0.0009152, allocations: 88.08 kB / 16.66 MB, free: 6.109 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.001075/0.001075, allocations: 184.2 kB / 17.58 MB, free: 5.809 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.36/1.36, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7333/0.7333, allocations: 115.5 MB / 408.2 MB, free: 7.043 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003404, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4133, allocations: 77.51 MB / 0.5606 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002782/0.4162, allocations: 2.17 MB / 0.5627 GB, free: 34.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.4174, allocations: 0.7755 MB / 0.5635 GB, free: 34.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.06e-05/0.4176, allocations: 9.25 kB / 0.5635 GB, free: 34.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.4177, allocations: 22.47 kB / 0.5635 GB, free: 34.22 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.418, allocations: 95.45 kB / 0.5636 GB, free: 34.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.4183, allocations: 108.5 kB / 0.5637 GB, free: 34.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003468/0.4187, allocations: 293.4 kB / 0.564 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002716/0.419, allocations: 189 kB / 0.5641 GB, free: 33.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.396e-05/0.4191, allocations: 60.33 kB / 0.5642 GB, free: 33.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.4193, allocations: 96.58 kB / 0.5643 GB, free: 33.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.4193, allocations: 7.469 kB / 0.5643 GB, free: 33.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002349/0.4196, allocations: 134 kB / 0.5644 GB, free: 33.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.4196, allocations: 52.45 kB / 0.5645 GB, free: 33.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.638e-05/0.4197, allocations: 88.27 kB / 0.5646 GB, free: 33.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.42, allocations: 167.4 kB / 0.5647 GB, free: 33.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.42, allocations: 3.25 kB / 0.5647 GB, free: 33.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.42, allocations: 4.641 kB / 0.5647 GB, free: 33.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.42, allocations: 0 / 0.5647 GB, free: 33.65 MB / 446.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.0005036/0.4205, allocations: 420.4 kB / 0.5651 GB, free: 33.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.4206, allocations: 13.84 kB / 0.5651 GB, free: 33.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003781/0.4209, allocations: 49.7 kB / 0.5652 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.4211, allocations: 215.2 kB / 0.5654 GB, free: 33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.4212, allocations: 11.3 kB / 0.5654 GB, free: 33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.4212, allocations: 18.3 kB / 0.5654 GB, free: 32.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003547/0.4216, allocations: 226.4 kB / 0.5656 GB, free: 32.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.4216, allocations: 5.125 kB / 0.5657 GB, free: 32.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.4216, allocations: 10.19 kB / 0.5657 GB, free: 32.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.734e-05/0.4216, allocations: 13.64 kB / 0.5657 GB, free: 32.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002461/0.4219, allocations: 146.3 kB / 0.5658 GB, free: 32.81 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008979/0.4228, allocations: 1.134 MB / 0.5669 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.6e-05/0.4229, allocations: 42.58 kB / 0.567 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.4229, allocations: 16.8 kB / 0.567 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.4229, allocations: 2.078 kB / 0.567 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.423, allocations: 33.28 kB / 0.567 GB, free: 31.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.423, allocations: 0 / 0.567 GB, free: 31.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001979/0.4232, allocations: 83.69 kB / 0.5671 GB, free: 31.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.4232, allocations: 56.41 kB / 0.5671 GB, free: 31.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.4234, allocations: 171 kB / 0.5673 GB, free: 31.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.647e-06/0.4234, allocations: 26.3 kB / 0.5673 GB, free: 31.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.783e-05/0.4234, allocations: 143.7 kB / 0.5675 GB, free: 31.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/0.4235, allocations: 16.27 kB / 0.5675 GB, free: 31.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.4235, allocations: 19.88 kB / 0.5675 GB, free: 31.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.531e-05/0.4236, allocations: 320.7 kB / 0.5678 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.927e-05/0.4236, allocations: 23.23 kB / 0.5678 GB, free: 30.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.857e-05/0.4237, allocations: 91.06 kB / 0.5679 GB, free: 30.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.4238, allocations: 127.1 kB / 0.568 GB, free: 30.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.4238, allocations: 1.062 kB / 0.568 GB, free: 30.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001926/0.424, allocations: 135.1 kB / 0.5682 GB, free: 30.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.394e-05/0.4241, allocations: 163.6 kB / 0.5683 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.4241, allocations: 3.219 kB / 0.5683 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.4241, allocations: 7.219 kB / 0.5683 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.4242, allocations: 27.38 kB / 0.5684 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.4242, allocations: 3.984 kB / 0.5684 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.049e-05/0.4243, allocations: 21.7 kB / 0.5684 GB, free: 30.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.4243, allocations: 5.281 kB / 0.5684 GB, free: 30.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/0.4244, allocations: 5.203 kB / 0.5684 GB, free: 30.41 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001436/0.4245, allocations: 102.7 kB / 0.5685 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.4245, allocations: 2.75 kB / 0.5685 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.739e-06/0.4245, allocations: 3.312 kB / 0.5685 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.204e-05/0.4246, allocations: 22.14 kB / 0.5685 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4246, allocations: 13.52 kB / 0.5685 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.363e-05/0.4247, allocations: 13.58 kB / 0.5685 GB, free: 30.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.4247, allocations: 5.594 kB / 0.5686 GB, free: 30.35 MB / 446.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.793e-05/0.4248, allocations: 218.9 kB / 0.5688 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.4248, allocations: 12.41 kB / 0.5688 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.189e-05/0.4249, allocations: 15.02 kB / 0.5688 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4249, allocations: 5.031 kB / 0.5688 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4249, allocations: 0.5625 kB / 0.5688 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.4249, allocations: 6.188 kB / 0.5688 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/0.4252, allocations: 460.6 kB / 0.5692 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4252, allocations: 0.9375 kB / 0.5692 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.4253, allocations: 13.92 kB / 0.5693 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.4253, allocations: 5.906 kB / 0.5693 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.4253, allocations: 0.8906 kB / 0.5693 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.4253, allocations: 5.75 kB / 0.5693 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4253, allocations: 1.875 kB / 0.5693 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.722e-05/0.4254, allocations: 108.2 kB / 0.5694 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.374e-05/0.4255, allocations: 95.56 kB / 0.5695 GB, free: 29.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.4255, allocations: 6.125 kB / 0.5695 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.606e-05/0.4255, allocations: 6.641 kB / 0.5695 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.4256, allocations: 8.219 kB / 0.5695 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.4256, allocations: 1.469 kB / 0.5695 GB, free: 29.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.839e-05/0.4257, allocations: 126.9 kB / 0.5696 GB, free: 29.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4257, allocations: 0 / 0.5696 GB, free: 29.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003364/0.426, allocations: 51.84 kB / 0.5697 GB, free: 29.36 MB / 446.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.797e-05/0.4261, allocations: 96.84 kB / 0.5697 GB, free: 29.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.4263, allocations: 112.6 kB / 0.5699 GB, free: 29.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4263, allocations: 0 / 0.5699 GB, free: 29.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.753e-05/0.4263, allocations: 18.48 kB / 0.5699 GB, free: 29.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.4266, allocations: 21.92 kB / 0.5699 GB, free: 29.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004867/0.4271, allocations: 370.3 kB / 0.5702 GB, free: 28.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.4273, allocations: 0.7211 MB / 0.5709 GB, free: 28.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.4273, allocations: 14.86 kB / 0.571 GB, free: 28.23 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.4273, allocations: 1.625 kB / 0.571 GB, free: 28.23 MB / 446.1 MB Notification: Performance of Templates: time 0.003274/0.4306, allocations: 1.431 MB / 0.5724 GB, free: 28.16 MB / 446.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)