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.001029/0.00103, allocations: 94.44 kB / 16.67 MB, free: 5.859 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.001173/0.001173, allocations: 181.1 kB / 17.57 MB, free: 5.543 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.336/1.336, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7158/0.7158, allocations: 115.5 MB / 408.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004561/0.0004561, allocations: 12 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3959, allocations: 77.51 MB / 0.5606 GB, free: 36.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003685/0.3997, allocations: 2.751 MB / 0.5633 GB, free: 34.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002878/0.4026, allocations: 1.688 MB / 0.5649 GB, free: 33.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002467/0.4029, allocations: 8.625 kB / 0.5649 GB, free: 33.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.4031, allocations: 35.58 kB / 0.565 GB, free: 33.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007946/0.4039, allocations: 207.9 kB / 0.5652 GB, free: 33.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006597/0.4046, allocations: 162.5 kB / 0.5653 GB, free: 33.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007032/0.4053, allocations: 461.7 kB / 0.5658 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.4063, allocations: 0.5362 MB / 0.5663 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003057/0.4067, allocations: 113.7 kB / 0.5664 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004524/0.4071, allocations: 148.5 kB / 0.5665 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.44e-05/0.4072, allocations: 14.47 kB / 0.5666 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006693/0.4079, allocations: 283.6 kB / 0.5668 GB, free: 32.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.408, allocations: 88.44 kB / 0.5669 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.4082, allocations: 133.3 kB / 0.567 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005878/0.4088, allocations: 328.3 kB / 0.5673 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.4088, allocations: 0 / 0.5673 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4088, allocations: 2.5 kB / 0.5673 GB, free: 32.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.4089, allocations: 0 / 0.5673 GB, free: 32.29 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.0007907/0.4096, allocations: 0.4967 MB / 0.5678 GB, free: 31.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4097, allocations: 13.03 kB / 0.5678 GB, free: 31.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007967/0.4105, allocations: 96.55 kB / 0.5679 GB, free: 31.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.4108, allocations: 250 kB / 0.5682 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.4108, allocations: 18.22 kB / 0.5682 GB, free: 31.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.775e-05/0.4109, allocations: 30.31 kB / 0.5682 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005699/0.4115, allocations: 377.9 kB / 0.5686 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.4115, allocations: 6.094 kB / 0.5686 GB, free: 31.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/0.4116, allocations: 10.75 kB / 0.5686 GB, free: 31.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/0.4117, allocations: 26.66 kB / 0.5686 GB, free: 31.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004975/0.4122, allocations: 305.5 kB / 0.5689 GB, free: 31.28 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.4138, allocations: 1.529 MB / 0.5704 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000427/0.4142, allocations: 231.7 kB / 0.5706 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.4144, allocations: 115.4 kB / 0.5707 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.4145, allocations: 88.02 kB / 0.5708 GB, free: 29.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.4146, allocations: 37.47 kB / 0.5709 GB, free: 29.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.4146, allocations: 0 / 0.5709 GB, free: 29.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001195/0.4158, allocations: 0.7932 MB / 0.5716 GB, free: 29.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.4158, allocations: 54.86 kB / 0.5717 GB, free: 29.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.416, allocations: 192.9 kB / 0.5719 GB, free: 29.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.416, allocations: 30.89 kB / 0.5719 GB, free: 29.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.223e-05/0.4161, allocations: 161.1 kB / 0.5721 GB, free: 28.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.4162, allocations: 70.36 kB / 0.5721 GB, free: 28.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.4162, allocations: 30.86 kB / 0.5722 GB, free: 28.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.893e-05/0.4163, allocations: 335.2 kB / 0.5725 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.4165, allocations: 116 kB / 0.5726 GB, free: 28.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.4167, allocations: 170.2 kB / 0.5727 GB, free: 28.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.417, allocations: 299.6 kB / 0.573 GB, free: 28.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.417, allocations: 0 / 0.573 GB, free: 28.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007407/0.4178, allocations: 415.9 kB / 0.5734 GB, free: 28.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4178, allocations: 6.344 kB / 0.5734 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.4178, allocations: 2.094 kB / 0.5734 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004189/0.4182, allocations: 108.8 kB / 0.5735 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.4185, allocations: 48.11 kB / 0.5736 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.4201, allocations: 1.734 MB / 0.5753 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.4203, allocations: 14.97 kB / 0.5753 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.4203, allocations: 10.14 kB / 0.5753 GB, free: 26.52 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.0001475/0.4205, allocations: 161.2 kB / 0.5755 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.4205, allocations: 17.8 kB / 0.5755 GB, free: 26.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004667/0.421, allocations: 299.5 kB / 0.5758 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.421, allocations: 2.75 kB / 0.5758 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.421, allocations: 0 / 0.5758 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.421, allocations: 6.609 kB / 0.5758 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007853/0.4218, allocations: 0.7065 MB / 0.5765 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.4218, allocations: 2.562 kB / 0.5765 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/0.4221, allocations: 62.08 kB / 0.5765 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.4221, allocations: 4.625 kB / 0.5765 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.4222, allocations: 5.375 kB / 0.5765 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.4222, allocations: 3.828 kB / 0.5765 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4222, allocations: 3.938 kB / 0.5765 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005585/0.4227, allocations: 0.5136 MB / 0.577 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.415e-05/0.4228, allocations: 113.3 kB / 0.5771 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.4229, allocations: 7.469 kB / 0.5772 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.4231, allocations: 19.61 kB / 0.5772 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.4231, allocations: 14.88 kB / 0.5772 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.4231, allocations: 5.438 kB / 0.5772 GB, free: 25.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.4232, allocations: 151.3 kB / 0.5773 GB, free: 25.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4232, allocations: 0.5 kB / 0.5773 GB, free: 25.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000373/0.4236, allocations: 64 kB / 0.5774 GB, free: 25.23 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.0001378/0.4238, allocations: 112.6 kB / 0.5775 GB, free: 25.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006714/0.4245, allocations: 429.8 kB / 0.5779 GB, free: 24.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/0.4245, allocations: 2.281 kB / 0.5779 GB, free: 24.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.4246, allocations: 116.9 kB / 0.578 GB, free: 24.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.4251, allocations: 34 kB / 0.5781 GB, free: 24.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.4262, allocations: 0.8015 MB / 0.5788 GB, free: 24.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.4265, allocations: 0.7694 MB / 0.5796 GB, free: 23.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.91e-05/0.4266, allocations: 29.75 kB / 0.5796 GB, free: 23.66 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4266, allocations: 0 / 0.5796 GB, free: 23.66 MB / 446.1 MB Notification: Performance of Templates: time 0.006587/0.4332, allocations: 3.57 MB / 0.5831 GB, free: 23.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)