Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 104.3 kB / 15.98 MB, free: 6.355 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.001771/0.001771, allocations: 191.3 kB / 16.91 MB, free: 6.195 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.433/1.433, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7584/0.7584, allocations: 122.9 MB / 413.6 MB, free: 64 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 63.91 kB / 0.4906 GB, free: 7.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4091, allocations: 77.92 MB / 0.5667 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004575/0.4137, allocations: 3.118 MB / 0.5697 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002381/0.4161, allocations: 1.701 MB / 0.5714 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.4163, allocations: 4.406 kB / 0.5714 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000911/0.4172, allocations: 318.1 kB / 0.5717 GB, free: 29.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004152/0.4176, allocations: 193.7 kB / 0.5719 GB, free: 29.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.418, allocations: 162 kB / 0.572 GB, free: 29.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.4183, allocations: 313.9 kB / 0.5723 GB, free: 29.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004698/0.4188, allocations: 276.1 kB / 0.5726 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.419, allocations: 137 kB / 0.5727 GB, free: 28.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.4193, allocations: 166.6 kB / 0.5729 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.4193, allocations: 20.94 kB / 0.5729 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003594/0.4197, allocations: 241.5 kB / 0.5732 GB, free: 28.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.4198, allocations: 103.3 kB / 0.5732 GB, free: 28.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.4199, allocations: 124 kB / 0.5734 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005651/0.4205, allocations: 442.2 kB / 0.5738 GB, free: 28.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.4205, allocations: 1 kB / 0.5738 GB, free: 28.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4205, allocations: 0 / 0.5738 GB, free: 28.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.4205, allocations: 1.031 kB / 0.5738 GB, free: 28.47 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001536/0.4221, allocations: 0.5419 MB / 0.5743 GB, free: 28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.85e-05/0.4222, allocations: 9.594 kB / 0.5743 GB, free: 28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.4232, allocations: 101.3 kB / 0.5744 GB, free: 27.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.4235, allocations: 253.6 kB / 0.5747 GB, free: 27.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.4235, allocations: 17.28 kB / 0.5747 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.4237, allocations: 28.69 kB / 0.5747 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006481/0.4243, allocations: 372.4 kB / 0.5751 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.4243, allocations: 5.125 kB / 0.5751 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.4244, allocations: 15.45 kB / 0.5751 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/0.4245, allocations: 29.86 kB / 0.5751 GB, free: 27.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005504/0.4251, allocations: 310.7 kB / 0.5754 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.4269, allocations: 1.522 MB / 0.5769 GB, free: 26.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004507/0.4273, allocations: 236.6 kB / 0.5771 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.4275, allocations: 117.8 kB / 0.5772 GB, free: 26.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/0.4276, allocations: 87.55 kB / 0.5773 GB, free: 25.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.4277, allocations: 33.72 kB / 0.5774 GB, free: 25.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.442e-06/0.4277, allocations: 0 / 0.5774 GB, free: 25.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001304/0.429, allocations: 0.7892 MB / 0.5781 GB, free: 25.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.429, allocations: 58.11 kB / 0.5782 GB, free: 25.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.4293, allocations: 197.3 kB / 0.5784 GB, free: 25.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.4293, allocations: 31.83 kB / 0.5784 GB, free: 25.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.491e-05/0.4294, allocations: 158.9 kB / 0.5785 GB, free: 25.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/0.4294, allocations: 70.44 kB / 0.5786 GB, free: 24.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.839e-05/0.4295, allocations: 58 kB / 0.5787 GB, free: 24.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.836e-05/0.4296, allocations: 333.3 kB / 0.579 GB, free: 24.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.4298, allocations: 115.8 kB / 0.5791 GB, free: 24.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.43, allocations: 170.1 kB / 0.5793 GB, free: 24.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.4304, allocations: 293.4 kB / 0.5795 GB, free: 24.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.4304, allocations: 5.719 kB / 0.5795 GB, free: 24.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000745/0.4311, allocations: 421.3 kB / 0.5799 GB, free: 24.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.4311, allocations: 4.953 kB / 0.58 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4312, allocations: 1.719 kB / 0.58 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004098/0.4316, allocations: 98.52 kB / 0.58 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.4318, allocations: 60.16 kB / 0.5801 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.4335, allocations: 1.88 MB / 0.5819 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.4337, allocations: 19.22 kB / 0.582 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.4338, allocations: 8.391 kB / 0.582 GB, free: 22.54 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * 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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001423/0.4339, allocations: 159.9 kB / 0.5821 GB, free: 22.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.434, allocations: 16.58 kB / 0.5821 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004613/0.4344, allocations: 295.4 kB / 0.5824 GB, free: 22.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4344, allocations: 1.812 kB / 0.5824 GB, free: 22.26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.4345, allocations: 2.609 kB / 0.5824 GB, free: 22.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4345, allocations: 4.641 kB / 0.5824 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008341/0.4353, allocations: 0.6963 MB / 0.5831 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.4353, allocations: 5.156 kB / 0.5831 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/0.4356, allocations: 61.98 kB / 0.5832 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4356, allocations: 1.969 kB / 0.5832 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.4357, allocations: 10.3 kB / 0.5832 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.4357, allocations: 3.562 kB / 0.5832 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4357, allocations: 5.125 kB / 0.5832 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005075/0.4362, allocations: 0.5117 MB / 0.5837 GB, free: 21.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.6e-05/0.4363, allocations: 119.1 kB / 0.5838 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.4363, allocations: 7.219 kB / 0.5838 GB, free: 21.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.4365, allocations: 10.73 kB / 0.5838 GB, free: 21.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.4366, allocations: 22.55 kB / 0.5838 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.4366, allocations: 4.875 kB / 0.5838 GB, free: 21.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.4367, allocations: 148.7 kB / 0.584 GB, free: 21.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4367, allocations: 0 / 0.584 GB, free: 21.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003776/0.4371, allocations: 65.25 kB / 0.5841 GB, free: 21.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * 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 0.0001296/0.4372, allocations: 117.2 kB / 0.5842 GB, free: 21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006917/0.4379, allocations: 452.2 kB / 0.5846 GB, free: 20.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4379, allocations: 1 kB / 0.5846 GB, free: 20.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.4381, allocations: 121.9 kB / 0.5847 GB, free: 20.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.4385, allocations: 32.05 kB / 0.5847 GB, free: 20.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.4396, allocations: 0.722 MB / 0.5854 GB, free: 20.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.4399, allocations: 0.7746 MB / 0.5862 GB, free: 19.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001722/0.44, allocations: 59.84 kB / 0.5863 GB, free: 19.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.366e-05/0.4401, allocations: 18.91 kB / 0.5863 GB, free: 19.36 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4401, allocations: 1.625 kB / 0.5863 GB, free: 19.36 MB / 446.1 MB Notification: Performance of Templates: time 0.007493/0.4476, allocations: 2.8 MB / 0.589 GB, free: 18 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)