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: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 103.2 kB / 15.98 MB, free: 6.352 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.001215/0.001215, allocations: 194.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.214/1.214, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6831/0.6831, allocations: 115.3 MB / 406.1 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 67.89 kB / 493.2 MB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2993, allocations: 76.17 MB / 0.556 GB, free: 36.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003743/0.3031, allocations: 3.116 MB / 0.5591 GB, free: 34.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.3051, allocations: 1.696 MB / 0.5607 GB, free: 33.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.699e-05/0.3052, allocations: 6.406 kB / 0.5607 GB, free: 33.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008172/0.306, allocations: 325 kB / 0.561 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004964/0.3065, allocations: 193.3 kB / 0.5612 GB, free: 32.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00041/0.307, allocations: 158.7 kB / 0.5614 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002922/0.3073, allocations: 323 kB / 0.5617 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003796/0.3077, allocations: 264.9 kB / 0.5619 GB, free: 32.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.3078, allocations: 143.1 kB / 0.5621 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.3081, allocations: 166 kB / 0.5622 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.3081, allocations: 24.28 kB / 0.5623 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003275/0.3085, allocations: 239 kB / 0.5625 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.769e-05/0.3086, allocations: 102.7 kB / 0.5626 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.3087, allocations: 128.7 kB / 0.5627 GB, free: 32.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004483/0.3091, allocations: 437.8 kB / 0.5631 GB, free: 32.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.3091, allocations: 0 / 0.5631 GB, free: 32.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3091, allocations: 1.062 kB / 0.5631 GB, free: 32.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.3092, allocations: 0 / 0.5631 GB, free: 32.1 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.0007583/0.3099, allocations: 0.5408 MB / 0.5637 GB, free: 31.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.31, allocations: 10.28 kB / 0.5637 GB, free: 31.63 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.225e-05/0.31, allocations: 63.42 kB / 0.5637 GB, free: 31.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006817/0.3107, allocations: 92.5 kB / 0.5638 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.311, allocations: 258.4 kB / 0.5641 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.311, allocations: 12.97 kB / 0.5641 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.955e-05/0.3111, allocations: 29.98 kB / 0.5641 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/0.3116, allocations: 379 kB / 0.5645 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3116, allocations: 7.922 kB / 0.5645 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.3117, allocations: 8.422 kB / 0.5645 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.589e-05/0.3118, allocations: 31 kB / 0.5645 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004172/0.3122, allocations: 306.7 kB / 0.5648 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.3136, allocations: 1.529 MB / 0.5663 GB, free: 29.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.314, allocations: 227.5 kB / 0.5665 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.3141, allocations: 116.7 kB / 0.5666 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.3142, allocations: 90.53 kB / 0.5667 GB, free: 29.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.3143, allocations: 37.64 kB / 0.5667 GB, free: 29.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.3143, allocations: 0 / 0.5667 GB, free: 29.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001052/0.3153, allocations: 0.7963 MB / 0.5675 GB, free: 28.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.965e-05/0.3154, allocations: 55.3 kB / 0.5676 GB, free: 28.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.3155, allocations: 195.1 kB / 0.5678 GB, free: 28.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.3156, allocations: 30.86 kB / 0.5678 GB, free: 28.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.3156, allocations: 162.4 kB / 0.5679 GB, free: 28.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.3157, allocations: 66.16 kB / 0.568 GB, free: 28.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.127e-05/0.3158, allocations: 53.92 kB / 0.5681 GB, free: 28.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.535e-05/0.3158, allocations: 332.8 kB / 0.5684 GB, free: 28.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.316, allocations: 126.8 kB / 0.5685 GB, free: 28.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.3161, allocations: 167.8 kB / 0.5687 GB, free: 28.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.3165, allocations: 302.4 kB / 0.5689 GB, free: 27.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3165, allocations: 0.5 kB / 0.5689 GB, free: 27.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006666/0.3171, allocations: 419.7 kB / 0.5693 GB, free: 27.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3172, allocations: 5.984 kB / 0.5694 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3172, allocations: 3.375 kB / 0.5694 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003829/0.3176, allocations: 98.31 kB / 0.5694 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.3178, allocations: 48.06 kB / 0.5695 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.3193, allocations: 1.875 MB / 0.5713 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.3195, allocations: 20.61 kB / 0.5713 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.3195, allocations: 8.938 kB / 0.5714 GB, free: 26.11 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.0001141/0.3197, allocations: 153.1 kB / 0.5715 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.3197, allocations: 17.16 kB / 0.5715 GB, free: 25.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004199/0.3201, allocations: 301.4 kB / 0.5718 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3202, allocations: 2.25 kB / 0.5718 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.3202, allocations: 0 / 0.5718 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3202, allocations: 7.562 kB / 0.5718 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007332/0.3209, allocations: 0.7042 MB / 0.5725 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3209, allocations: 1.188 kB / 0.5725 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002813/0.3212, allocations: 62.31 kB / 0.5726 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.3212, allocations: 6.25 kB / 0.5726 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.3212, allocations: 6.078 kB / 0.5726 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3212, allocations: 1.219 kB / 0.5726 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3213, allocations: 2.031 kB / 0.5726 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004971/0.3218, allocations: 0.5114 MB / 0.5731 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.13e-05/0.3218, allocations: 120.3 kB / 0.5732 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.3219, allocations: 7.328 kB / 0.5732 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.3221, allocations: 10.41 kB / 0.5732 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.3221, allocations: 14.84 kB / 0.5732 GB, free: 24.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.3221, allocations: 6.328 kB / 0.5732 GB, free: 24.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.3222, allocations: 148.3 kB / 0.5734 GB, free: 24.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3222, allocations: 7.875 kB / 0.5734 GB, free: 24.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003478/0.3226, allocations: 66.66 kB / 0.5734 GB, free: 24.84 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.0006704/0.3233, allocations: 1.07 MB / 0.5745 GB, free: 24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006341/0.3239, allocations: 448.5 kB / 0.5749 GB, free: 23.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3239, allocations: 1.906 kB / 0.5749 GB, free: 23.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.3241, allocations: 126.1 kB / 0.575 GB, free: 23.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.3244, allocations: 38.92 kB / 0.5751 GB, free: 23.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.3275, allocations: 2.975 MB / 0.578 GB, free: 21.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.3277, allocations: 0.7733 MB / 0.5787 GB, free: 20.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001691/0.3279, allocations: 55.56 kB / 0.5788 GB, free: 20.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.328, allocations: 65.11 kB / 0.5788 GB, free: 20.93 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.328, allocations: 1.375 kB / 0.5788 GB, free: 20.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.159/1.487, allocations: 4.92 MB / 0.5837 GB, free: 20.12 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/1.487, allocations: 241.2 kB / 0.5839 GB, free: 19.87 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/3.359, allocations: 0 / 0.5839 GB, free: 19.87 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)