Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008369/0.0008369, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008213/0.0008213, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8739/0.8739, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001403/0.001403, allocations: 233.8 kB / 259.4 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6514/0.6514, allocations: 138.4 MB / 454.3 MB, free: 30.08 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.6463 GB, free: 1.953 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.278e-05/1.415e-05, allocations: 6.281 kB / 0.6463 GB, free: 1.945 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.2341/0.2341, allocations: 3.049 MB / 0.6493 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.2358, allocations: 1.678 MB / 0.6509 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.163e-05/0.2359, allocations: 4.281 kB / 0.6509 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005732/0.2365, allocations: 330.2 kB / 0.6512 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002632/0.2367, allocations: 222.2 kB / 0.6514 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.237, allocations: 185 kB / 0.6516 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00024/0.2372, allocations: 327 kB / 0.6519 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000253/0.2375, allocations: 164 kB / 0.6521 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002114/0.2377, allocations: 198.4 kB / 0.6523 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.2379, allocations: 151.4 kB / 0.6524 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.2379, allocations: 21.22 kB / 0.6524 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.2382, allocations: 222.3 kB / 0.6526 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.884e-05/0.2382, allocations: 107.3 kB / 0.6527 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.071e-05/0.2383, allocations: 85.83 kB / 0.6528 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003683/0.2387, allocations: 447 kB / 0.6533 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2387, allocations: 4 kB / 0.6533 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2387, allocations: 1.656 kB / 0.6533 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.2387, allocations: 3.297 kB / 0.6533 GB, free: 54.25 MB / 0.5573 GB 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.0006122/0.2393, allocations: 479.7 kB / 0.6537 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.2393, allocations: 13.25 kB / 0.6537 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.2394, allocations: 58.44 kB / 0.6538 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000394/0.2398, allocations: 97.61 kB / 0.6539 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.24, allocations: 204.8 kB / 0.6541 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.24, allocations: 14.59 kB / 0.6541 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.756e-05/0.2401, allocations: 25.36 kB / 0.6541 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003719/0.2404, allocations: 432.1 kB / 0.6545 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2404, allocations: 1.25 kB / 0.6545 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.2405, allocations: 13.95 kB / 0.6545 GB, free: 53.37 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.939e-05/0.2405, allocations: 32.02 kB / 0.6546 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/0.2408, allocations: 304.8 kB / 0.6549 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008757/0.2417, allocations: 1.082 MB / 0.6559 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.2419, allocations: 206.2 kB / 0.6561 GB, free: 52.42 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.101e-05/0.242, allocations: 102.8 kB / 0.6562 GB, free: 52.38 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.118e-05/0.2421, allocations: 16.36 kB / 0.6562 GB, free: 52.38 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.42e-05/0.2421, allocations: 41.33 kB / 0.6563 GB, free: 52.33 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.2421, allocations: 0 / 0.6563 GB, free: 52.33 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19): time 0.0007706/0.2429, allocations: 0.7174 MB / 0.657 GB, free: 51.95 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.842e-05/0.2429, allocations: 58.94 kB / 0.657 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.243, allocations: 191.2 kB / 0.6572 GB, free: 51.75 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.243, allocations: 31.73 kB / 0.6572 GB, free: 51.71 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.2431, allocations: 161.9 kB / 0.6574 GB, free: 51.57 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.2431, allocations: 73.12 kB / 0.6575 GB, free: 51.51 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-05/0.2432, allocations: 58.42 kB / 0.6575 GB, free: 51.48 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.853e-05/0.2432, allocations: 337.6 kB / 0.6578 GB, free: 51.15 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.2433, allocations: 114.8 kB / 0.658 GB, free: 51.11 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.2434, allocations: 170.8 kB / 0.6581 GB, free: 51.01 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.2437, allocations: 296.4 kB / 0.6584 GB, free: 50.85 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2437, allocations: 3.938 kB / 0.6584 GB, free: 50.85 MB / 0.5573 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004457/0.2441, allocations: 411 kB / 0.6588 GB, free: 50.68 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.2441, allocations: 6.641 kB / 0.6588 GB, free: 50.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2441, allocations: 5.906 kB / 0.6588 GB, free: 50.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002386/0.2444, allocations: 105.8 kB / 0.6589 GB, free: 50.65 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.2445, allocations: 50.72 kB / 0.659 GB, free: 50.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009732/0.2455, allocations: 1.759 MB / 0.6607 GB, free: 49.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.2456, allocations: 20.38 kB / 0.6607 GB, free: 49.21 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.2456, allocations: 10.58 kB / 0.6607 GB, free: 49.21 MB / 0.5573 GB 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 8.063e-05/0.2457, allocations: 156.8 kB / 0.6608 GB, free: 49.07 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.2457, allocations: 16.66 kB / 0.6609 GB, free: 49.06 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002866/0.246, allocations: 304.6 kB / 0.6612 GB, free: 48.92 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.246, allocations: 3.906 kB / 0.6612 GB, free: 48.92 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.246, allocations: 0 / 0.6612 GB, free: 48.92 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.246, allocations: 0.7031 kB / 0.6612 GB, free: 48.92 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000511/0.2465, allocations: 0.6526 MB / 0.6618 GB, free: 48.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2465, allocations: 2.156 kB / 0.6618 GB, free: 48.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.2467, allocations: 62.75 kB / 0.6619 GB, free: 48.49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2467, allocations: 1.906 kB / 0.6619 GB, free: 48.49 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.2467, allocations: 6.859 kB / 0.6619 GB, free: 48.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2467, allocations: 1.938 kB / 0.6619 GB, free: 48.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2467, allocations: 6.375 kB / 0.6619 GB, free: 48.48 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.247, allocations: 0.5056 MB / 0.6624 GB, free: 48.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.2471, allocations: 43.25 kB / 0.6624 GB, free: 48.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.2471, allocations: 10.23 kB / 0.6624 GB, free: 48.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.602e-05/0.2472, allocations: 15.59 kB / 0.6624 GB, free: 48.17 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.389e-05/0.2472, allocations: 14.66 kB / 0.6624 GB, free: 48.16 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.2472, allocations: 10.8 kB / 0.6625 GB, free: 48.16 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.417e-05/0.2473, allocations: 153.3 kB / 0.6626 GB, free: 48.05 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.2473, allocations: 1.719 kB / 0.6626 GB, free: 48.05 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002253/0.2475, allocations: 65.09 kB / 0.6627 GB, free: 48.05 MB / 0.5573 GB 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.0004881/0.248, allocations: 1.054 MB / 0.6637 GB, free: 47.23 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004417/0.2484, allocations: 420.1 kB / 0.6641 GB, free: 47.01 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2484, allocations: 0 / 0.6641 GB, free: 47.01 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 9.876e-05/0.2485, allocations: 112.4 kB / 0.6642 GB, free: 46.98 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.2488, allocations: 37.28 kB / 0.6642 GB, free: 46.97 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.2509, allocations: 2.845 MB / 0.667 GB, free: 45.07 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.251, allocations: 171.4 kB / 0.6672 GB, free: 44.98 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001081/0.2511, allocations: 63.05 kB / 0.6672 GB, free: 44.97 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.873e-05/0.2512, allocations: 66.34 kB / 0.6673 GB, free: 44.93 MB / 0.5573 GB Notification: Performance of SimCode: time 6.71e-07/0.2512, allocations: 0 / 0.6673 GB, free: 44.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/0.272, allocations: 5.875 MB / 0.673 GB, free: 43.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.823/7.094, allocations: 0.5 kB / 0.673 GB, free: 43.8 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.645603779703379] Failed to read output from testmodel.py, exit status != 0: 7.179637630470097 7.188169877 6.947514311 Calling exit ...