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.001332/0.001332, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.001605/0.001605, allocations: 212.8 kB / 22.24 MB, free: 5.242 MB / 14.72 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 1.516/1.516, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.002632/0.002632, allocations: 285.4 kB / 312.7 MB, free: 2.609 MB / 238.1 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 1.236/1.236, allocations: 180.6 MB / 0.5369 GB, free: 14.56 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002944/0.002944, allocations: 112.3 kB / 0.7395 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1853, allocations: 95.38 MB / 0.8326 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005094/0.1903, allocations: 3.09 MB / 0.8357 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002985/0.1933, allocations: 1.691 MB / 0.8373 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.1935, allocations: 7.938 kB / 0.8373 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.1945, allocations: 334.7 kB / 0.8376 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004895/0.195, allocations: 215.1 kB / 0.8378 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004525/0.1955, allocations: 175.6 kB / 0.838 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003861/0.1959, allocations: 319 kB / 0.8383 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003238/0.1962, allocations: 180.9 kB / 0.8385 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002361/0.1964, allocations: 151.5 kB / 0.8386 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.1967, allocations: 155.4 kB / 0.8388 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.931e-05/0.1968, allocations: 20 kB / 0.8388 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003774/0.1971, allocations: 227.5 kB / 0.839 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.1973, allocations: 99.72 kB / 0.8391 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.1974, allocations: 103.6 kB / 0.8392 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005391/0.1979, allocations: 430.5 kB / 0.8396 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1979, allocations: 0 / 0.8396 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.924e-06/0.1979, allocations: 0 / 0.8396 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.1979, allocations: 4 kB / 0.8396 GB, free: 1.137 MB / 0.5762 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.0009557/0.1989, allocations: 481.4 kB / 0.8401 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1989, allocations: 13.34 kB / 0.8401 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.445e-05/0.199, allocations: 58.72 kB / 0.8402 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006972/0.1997, allocations: 96.64 kB / 0.8402 GB, free: 472 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.2, allocations: 202.1 kB / 0.8404 GB, free: 244 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.2001, allocations: 20.8 kB / 0.8405 GB, free: 224 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.195e-05/0.2002, allocations: 24.56 kB / 0.8405 GB, free: 200 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006113/0.2008, allocations: 424 kB / 0.8409 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.2008, allocations: 3.938 kB / 0.8409 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.536e-05/0.2008, allocations: 11.98 kB / 0.8409 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.569e-05/0.2009, allocations: 32.41 kB / 0.8409 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.2014, allocations: 305.5 kB / 0.8412 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.2031, allocations: 1.089 MB / 0.8423 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004258/0.2035, allocations: 210.4 kB / 0.8425 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.2037, allocations: 104.8 kB / 0.8426 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.831e-05/0.2038, allocations: 7.984 kB / 0.8426 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.2038, allocations: 38.56 kB / 0.8426 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.212e-06/0.2038, allocations: 0 / 0.8426 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.00122/0.205, allocations: 0.7182 MB / 0.8433 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.2051, allocations: 55.36 kB / 0.8434 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.2053, allocations: 199.5 kB / 0.8436 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.2053, allocations: 25.7 kB / 0.8436 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.2054, allocations: 168.1 kB / 0.8438 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.942e-05/0.2055, allocations: 71.36 kB / 0.8438 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.2056, allocations: 65.64 kB / 0.8439 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2057, allocations: 326.8 kB / 0.8442 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.2059, allocations: 115.9 kB / 0.8443 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.2061, allocations: 183 kB / 0.8445 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/0.2065, allocations: 297.3 kB / 0.8448 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2065, allocations: 0 / 0.8448 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007579/0.2073, allocations: 413.9 kB / 0.8452 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.2073, allocations: 8 kB / 0.8452 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2073, allocations: 192 / 0.8452 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003967/0.2077, allocations: 104.7 kB / 0.8453 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.208, allocations: 55.95 kB / 0.8453 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.21, allocations: 1.752 MB / 0.847 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.2102, allocations: 23.94 kB / 0.8471 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.2102, allocations: 8 kB / 0.8471 GB, free: 9.09 MB / 0.5919 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 0.0001692/0.2104, allocations: 158.4 kB / 0.8472 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.774e-05/0.2104, allocations: 15.91 kB / 0.8472 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004946/0.2109, allocations: 307.2 kB / 0.8475 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.2109, allocations: 4.188 kB / 0.8475 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2109, allocations: 4 kB / 0.8475 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.2109, allocations: 7.875 kB / 0.8475 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009618/0.2119, allocations: 0.6453 MB / 0.8482 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.2119, allocations: 7.984 kB / 0.8482 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/0.2122, allocations: 55.89 kB / 0.8482 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.2122, allocations: 12 kB / 0.8482 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.2122, allocations: 4 kB / 0.8482 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.2122, allocations: 4 kB / 0.8483 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2122, allocations: 0 / 0.8483 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006471/0.2129, allocations: 0.5112 MB / 0.8488 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.213, allocations: 43.81 kB / 0.8488 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.213, allocations: 11.92 kB / 0.8488 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.2132, allocations: 11.98 kB / 0.8488 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.2132, allocations: 7.984 kB / 0.8488 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.2132, allocations: 12 kB / 0.8488 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001478/0.2134, allocations: 148.1 kB / 0.849 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2134, allocations: 4 kB / 0.849 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003648/0.2137, allocations: 64 kB / 0.849 GB, free: 6.977 MB / 0.5919 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.001127/0.2149, allocations: 1.054 MB / 0.8501 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007554/0.2156, allocations: 413.9 kB / 0.8505 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2156, allocations: 0 / 0.8505 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.2158, allocations: 121.9 kB / 0.8506 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.2162, allocations: 28.98 kB / 0.8506 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003936/0.2201, allocations: 2.892 MB / 0.8534 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.2203, allocations: 169 kB / 0.8536 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001713/0.2205, allocations: 57.89 kB / 0.8536 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.2206, allocations: 71.34 kB / 0.8537 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of SimCode: time 6.41e-07/0.2206, allocations: 0 / 0.8537 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03653/0.2571, allocations: 5.712 MB / 0.8593 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/11.9, allocations: 11.14 kB / 0.8593 GB, free: 12.45 MB / 0.6075 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 16.20959866931662] Failed to read output from testmodel.py, exit status != 0: 12.005979243200272 12.024018671 11.822725427 Calling exit ...