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.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.001582/0.001582, allocations: 114.1 kB / 17.84 MB, free: 5.312 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.001575/0.001575, allocations: 203.2 kB / 20.8 MB, free: 2.371 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.576/1.576, allocations: 230.6 MB / 254.2 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.001/1.001, allocations: 150 MB / 460.2 MB, free: 5.219 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001987/0.001987, allocations: 63.91 kB / 0.6368 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1863, allocations: 89.14 MB / 0.7238 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005166/0.1915, allocations: 3.122 MB / 0.7269 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002979/0.1944, allocations: 1.78 MB / 0.7286 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.1946, allocations: 7.938 kB / 0.7286 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.1956, allocations: 334.7 kB / 0.729 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005128/0.1961, allocations: 211.1 kB / 0.7292 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004766/0.1966, allocations: 187.5 kB / 0.7293 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000398/0.197, allocations: 315 kB / 0.7296 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003624/0.1973, allocations: 188.7 kB / 0.7298 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.1976, allocations: 139.6 kB / 0.73 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002983/0.1979, allocations: 171.4 kB / 0.7301 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.727e-05/0.1979, allocations: 24 kB / 0.7301 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.1983, allocations: 255.5 kB / 0.7304 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.1985, allocations: 103.7 kB / 0.7305 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.1986, allocations: 119.4 kB / 0.7306 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000552/0.1991, allocations: 430.5 kB / 0.731 GB, free: 12.54 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1991, allocations: 0 / 0.731 GB, free: 12.54 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1991, allocations: 0 / 0.731 GB, free: 12.54 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.1991, allocations: 0 / 0.731 GB, free: 12.54 MB / 0.545 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.001005/0.2002, allocations: 0.5571 MB / 0.7315 GB, free: 11.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2002, allocations: 8.031 kB / 0.7316 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.93e-05/0.2002, allocations: 8.625 kB / 0.7316 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.318e-05/0.2003, allocations: 54.73 kB / 0.7316 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007544/0.201, allocations: 92.69 kB / 0.7317 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.2014, allocations: 267.9 kB / 0.732 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.2014, allocations: 16.81 kB / 0.732 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.2015, allocations: 40.25 kB / 0.732 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005952/0.2021, allocations: 365 kB / 0.7324 GB, free: 11.03 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.2021, allocations: 3.984 kB / 0.7324 GB, free: 11.03 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.2022, allocations: 12 kB / 0.7324 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/0.2023, allocations: 32.34 kB / 0.7324 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004974/0.2028, allocations: 309.5 kB / 0.7327 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.2046, allocations: 1.522 MB / 0.7342 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000445/0.2051, allocations: 210.4 kB / 0.7344 GB, free: 8.793 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.2052, allocations: 104.8 kB / 0.7345 GB, free: 8.688 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.2054, allocations: 89.41 kB / 0.7346 GB, free: 8.582 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.2054, allocations: 30.56 kB / 0.7346 GB, free: 8.543 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.2054, allocations: 0 / 0.7346 GB, free: 8.543 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001369/0.2068, allocations: 0.8021 MB / 0.7354 GB, free: 7.691 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.2068, allocations: 55.39 kB / 0.7354 GB, free: 7.625 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.207, allocations: 194.6 kB / 0.7356 GB, free: 7.426 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.2071, allocations: 29.7 kB / 0.7357 GB, free: 7.391 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.2072, allocations: 164.1 kB / 0.7358 GB, free: 7.227 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.117e-05/0.2072, allocations: 71.42 kB / 0.7359 GB, free: 7.156 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.2074, allocations: 61.64 kB / 0.7359 GB, free: 7.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.2075, allocations: 334.8 kB / 0.7363 GB, free: 6.754 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.2077, allocations: 107.9 kB / 0.7364 GB, free: 6.648 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.2079, allocations: 171 kB / 0.7365 GB, free: 6.461 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004356/0.2084, allocations: 314.4 kB / 0.7368 GB, free: 6.133 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2084, allocations: 4 kB / 0.7368 GB, free: 6.129 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008225/0.2092, allocations: 414 kB / 0.7372 GB, free: 5.715 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.2092, allocations: 8.625 kB / 0.7372 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2092, allocations: 3.938 kB / 0.7372 GB, free: 5.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004236/0.2096, allocations: 96.89 kB / 0.7373 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.2099, allocations: 55.89 kB / 0.7374 GB, free: 5.551 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/0.212, allocations: 1.875 MB / 0.7392 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.2122, allocations: 20 kB / 0.7392 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.2123, allocations: 12 kB / 0.7392 GB, free: 3.504 MB / 0.545 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.0001801/0.2124, allocations: 153.8 kB / 0.7394 GB, free: 3.344 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-05/0.2125, allocations: 27.86 kB / 0.7394 GB, free: 3.316 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005626/0.2131, allocations: 291.4 kB / 0.7397 GB, free: 3.031 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2131, allocations: 4 kB / 0.7397 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2131, allocations: 3.938 kB / 0.7397 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2131, allocations: 0 / 0.7397 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009897/0.2141, allocations: 0.7002 MB / 0.7404 GB, free: 2.262 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.2141, allocations: 4 kB / 0.7404 GB, free: 2.258 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.2144, allocations: 55.89 kB / 0.7404 GB, free: 2.203 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.597e-06/0.2144, allocations: 7.938 kB / 0.7404 GB, free: 2.195 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.2144, allocations: 4 kB / 0.7405 GB, free: 2.191 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.2144, allocations: 4 kB / 0.7405 GB, free: 2.188 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.2144, allocations: 3.984 kB / 0.7405 GB, free: 2.184 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006696/0.2151, allocations: 0.5143 MB / 0.741 GB, free: 1.648 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.2152, allocations: 120.9 kB / 0.7411 GB, free: 1.512 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.2153, allocations: 4 kB / 0.7411 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.2154, allocations: 15.98 kB / 0.7411 GB, free: 1.492 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.2155, allocations: 11.89 kB / 0.7411 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.2155, allocations: 12 kB / 0.7411 GB, free: 1.469 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000153/0.2156, allocations: 144.1 kB / 0.7413 GB, free: 1.324 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2156, allocations: 4.062 kB / 0.7413 GB, free: 1.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003909/0.216, allocations: 68 kB / 0.7413 GB, free: 1.254 MB / 0.545 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.001071/0.2171, allocations: 1.057 MB / 0.7424 GB, free: 164 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008182/0.2179, allocations: 413.5 kB / 0.7428 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2179, allocations: 0 / 0.7428 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.2181, allocations: 111.9 kB / 0.7429 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.2185, allocations: 38.92 kB / 0.7429 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004319/0.2228, allocations: 2.896 MB / 0.7457 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005508/0.2234, allocations: 0.7755 MB / 0.7465 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001685/0.2235, allocations: 53.91 kB / 0.7465 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.2237, allocations: 63.42 kB / 0.7466 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of SimCode: time 8.62e-07/0.2237, allocations: 0 / 0.7466 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/0.2519, allocations: 5.165 MB / 0.7516 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.67, allocations: 12.86 kB / 0.7517 GB, free: 6.684 MB / 0.5606 GB " [Timeout remaining time 649] (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 --stepSize=0.0004 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.808709815028124] Failed to read output from testmodel.py, exit status != 0: 10.807990996981971 10.825381363 10.622971056 Calling exit ...