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.001689/0.001689, allocations: 105.5 kB / 16.94 MB, free: 6.156 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.001901/0.001901, allocations: 189.3 kB / 17.87 MB, free: 5.293 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.421/1.421, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8103/0.8103, allocations: 125.4 MB / 417.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 75.88 kB / 0.4948 GB, free: 4.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4008, allocations: 78.55 MB / 0.5715 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005162/0.406, allocations: 3.061 MB / 0.5745 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003026/0.4091, allocations: 1.718 MB / 0.5762 GB, free: 28.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.4093, allocations: 12.47 kB / 0.5762 GB, free: 28.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.4104, allocations: 328.8 kB / 0.5765 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007102/0.4111, allocations: 214.5 kB / 0.5767 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006247/0.4118, allocations: 177.6 kB / 0.5769 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003918/0.4122, allocations: 315 kB / 0.5772 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004694/0.4127, allocations: 251.7 kB / 0.5774 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.4129, allocations: 128.5 kB / 0.5776 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003707/0.4133, allocations: 163.6 kB / 0.5777 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.84e-05/0.4133, allocations: 20.84 kB / 0.5777 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005127/0.4139, allocations: 240.4 kB / 0.578 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.414, allocations: 105 kB / 0.5781 GB, free: 27.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.4142, allocations: 125.4 kB / 0.5782 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006759/0.4148, allocations: 421.8 kB / 0.5786 GB, free: 27.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4149, allocations: 0 / 0.5786 GB, free: 27.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4149, allocations: 1.75 kB / 0.5786 GB, free: 27.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.4149, allocations: 0.8438 kB / 0.5786 GB, free: 27.21 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.0009782/0.4159, allocations: 0.5434 MB / 0.5791 GB, free: 26.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.4159, allocations: 10.38 kB / 0.5791 GB, free: 26.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000794/0.4167, allocations: 99.81 kB / 0.5792 GB, free: 26.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.417, allocations: 254.9 kB / 0.5795 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.4171, allocations: 23.17 kB / 0.5795 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.4172, allocations: 25.08 kB / 0.5795 GB, free: 26.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005797/0.4178, allocations: 379.7 kB / 0.5799 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.4178, allocations: 6.688 kB / 0.5799 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.4178, allocations: 5.531 kB / 0.5799 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/0.418, allocations: 33.09 kB / 0.5799 GB, free: 26.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004371/0.4184, allocations: 306.5 kB / 0.5802 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.4199, allocations: 1.528 MB / 0.5817 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004064/0.4203, allocations: 240.5 kB / 0.5819 GB, free: 24.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.4205, allocations: 118.4 kB / 0.582 GB, free: 24.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.4206, allocations: 84.64 kB / 0.5821 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.4206, allocations: 35.83 kB / 0.5822 GB, free: 24.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.4206, allocations: 0.6562 kB / 0.5822 GB, free: 24.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001175/0.4218, allocations: 0.7901 MB / 0.5829 GB, free: 23.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.4219, allocations: 58.06 kB / 0.583 GB, free: 23.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.422, allocations: 202.2 kB / 0.5832 GB, free: 23.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.4221, allocations: 31.36 kB / 0.5832 GB, free: 23.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.453e-05/0.4222, allocations: 162.1 kB / 0.5834 GB, free: 23.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.4222, allocations: 67.11 kB / 0.5834 GB, free: 23.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.421e-05/0.4223, allocations: 55.83 kB / 0.5835 GB, free: 23.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.326e-05/0.4224, allocations: 335 kB / 0.5838 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.4225, allocations: 116.4 kB / 0.5839 GB, free: 22.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.4227, allocations: 169.5 kB / 0.5841 GB, free: 22.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003506/0.4231, allocations: 300.9 kB / 0.5844 GB, free: 22.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4231, allocations: 0 / 0.5844 GB, free: 22.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007084/0.4238, allocations: 413.5 kB / 0.5847 GB, free: 22.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.4238, allocations: 6.312 kB / 0.5848 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.4238, allocations: 1.219 kB / 0.5848 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004001/0.4242, allocations: 101.6 kB / 0.5849 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.4245, allocations: 51.94 kB / 0.5849 GB, free: 22.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/0.4262, allocations: 1.878 MB / 0.5867 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.4264, allocations: 19.02 kB / 0.5868 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.4264, allocations: 12.58 kB / 0.5868 GB, free: 20.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.0001518/0.4266, allocations: 158.7 kB / 0.5869 GB, free: 20.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.485e-05/0.4266, allocations: 20.67 kB / 0.5869 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004526/0.4271, allocations: 289.8 kB / 0.5872 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.4271, allocations: 6.891 kB / 0.5872 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.4271, allocations: 0 / 0.5872 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.4271, allocations: 3.938 kB / 0.5872 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008083/0.4279, allocations: 0.6984 MB / 0.5879 GB, free: 19.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.428, allocations: 1.156 kB / 0.5879 GB, free: 19.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002913/0.4283, allocations: 62.33 kB / 0.588 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.4283, allocations: 2.25 kB / 0.588 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.4283, allocations: 8.656 kB / 0.588 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.4283, allocations: 1.312 kB / 0.588 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4283, allocations: 1.281 kB / 0.588 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005734/0.4289, allocations: 0.5173 MB / 0.5885 GB, free: 19.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.012e-05/0.429, allocations: 115.7 kB / 0.5886 GB, free: 19.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.429, allocations: 15.42 kB / 0.5886 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.4292, allocations: 11.14 kB / 0.5886 GB, free: 19.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.4293, allocations: 17.42 kB / 0.5886 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.4293, allocations: 6.219 kB / 0.5886 GB, free: 19.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.4294, allocations: 147.7 kB / 0.5888 GB, free: 19.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4294, allocations: 3.938 kB / 0.5888 GB, free: 19.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003904/0.4298, allocations: 65.72 kB / 0.5888 GB, free: 19.02 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.0001436/0.43, allocations: 112.6 kB / 0.589 GB, free: 18.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000734/0.4307, allocations: 447.8 kB / 0.5894 GB, free: 18.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4307, allocations: 0 / 0.5894 GB, free: 18.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.4309, allocations: 122 kB / 0.5895 GB, free: 18.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.4313, allocations: 37.81 kB / 0.5895 GB, free: 18.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.4326, allocations: 0.6604 MB / 0.5902 GB, free: 18.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.4328, allocations: 0.7741 MB / 0.5909 GB, free: 17.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.422e-05/0.4329, allocations: 28.58 kB / 0.591 GB, free: 17.36 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4329, allocations: 0 / 0.591 GB, free: 17.36 MB / 446.1 MB Notification: Performance of Templates: time 0.006669/0.4396, allocations: 3.602 MB / 0.5945 GB, free: 15.31 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)