Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.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.001414/0.001414, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001581/0.001581, allocations: 217.3 kB / 23.78 MB, free: 4.523 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.523/1.523, allocations: 230.6 MB / 257.5 MB, free: 7.812 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 0.9626/0.9626, allocations: 150 MB / 464 MB, free: 10.24 MB / 366.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.DC.Sources.Examples.VoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource",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.00201/0.00201, allocations: 62.08 kB / 0.6419 GB, free: 9.93 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1872, allocations: 89.18 MB / 0.729 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.005384/0.1926, allocations: 3.169 MB / 0.7321 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002786/0.1953, allocations: 1.383 MB / 0.7335 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/0.1956, allocations: 7.938 kB / 0.7335 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.1969, allocations: 334.8 kB / 0.7338 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005047/0.1974, allocations: 155.1 kB / 0.734 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005273/0.1979, allocations: 163.6 kB / 0.7341 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000575/0.1985, allocations: 330.9 kB / 0.7344 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004544/0.199, allocations: 196 kB / 0.7346 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003247/0.1993, allocations: 155.5 kB / 0.7348 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003514/0.1996, allocations: 155.4 kB / 0.7349 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.552e-05/0.1997, allocations: 20 kB / 0.7349 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003269/0.2, allocations: 155.6 kB / 0.7351 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.2001, allocations: 87.73 kB / 0.7352 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.2003, allocations: 107.5 kB / 0.7353 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005355/0.2008, allocations: 370.6 kB / 0.7356 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2008, allocations: 0 / 0.7356 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2008, allocations: 4 kB / 0.7356 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.2008, allocations: 0 / 0.7356 GB, free: 10.04 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009934/0.2018, allocations: 477.4 kB / 0.7361 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.2019, allocations: 8.031 kB / 0.7361 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.15e-05/0.2019, allocations: 12.55 kB / 0.7361 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.976e-05/0.2019, allocations: 62.72 kB / 0.7362 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007421/0.2027, allocations: 92.67 kB / 0.7362 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.203, allocations: 191.8 kB / 0.7364 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.2031, allocations: 12.81 kB / 0.7364 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.2031, allocations: 24.36 kB / 0.7365 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005987/0.2037, allocations: 397.3 kB / 0.7368 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2037, allocations: 0 / 0.7368 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.2037, allocations: 4 kB / 0.7368 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-05/0.2038, allocations: 28.41 kB / 0.7369 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003988/0.2042, allocations: 205.6 kB / 0.7371 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.2057, allocations: 1.077 MB / 0.7381 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004374/0.2061, allocations: 118.6 kB / 0.7382 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.2062, allocations: 40.83 kB / 0.7383 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.2063, allocations: 4 kB / 0.7383 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.2063, allocations: 30.56 kB / 0.7383 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.2063, allocations: 0 / 0.7383 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0005566/0.2068, allocations: 198.2 kB / 0.7385 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.2069, allocations: 51.41 kB / 0.7385 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.2071, allocations: 210.9 kB / 0.7387 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.2071, allocations: 29.7 kB / 0.7388 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.2072, allocations: 176 kB / 0.7389 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.2073, allocations: 31.73 kB / 0.739 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.596e-05/0.2073, allocations: 37.66 kB / 0.739 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.2075, allocations: 330.8 kB / 0.7393 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.2076, allocations: 43.97 kB / 0.7394 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.2077, allocations: 116.4 kB / 0.7395 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.208, allocations: 164.4 kB / 0.7396 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.208, allocations: 0 / 0.7396 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004124/0.2084, allocations: 214.1 kB / 0.7398 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.2084, allocations: 4 kB / 0.7398 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.2084, allocations: 4.281 kB / 0.7398 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001603/0.2086, allocations: 36.77 kB / 0.7399 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.2087, allocations: 31.92 kB / 0.7399 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.2099, allocations: 1.314 MB / 0.7412 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.2101, allocations: 15.92 kB / 0.7412 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.2101, allocations: 12.16 kB / 0.7412 GB, free: 3.859 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001661/0.2103, allocations: 153.6 kB / 0.7414 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.028e-05/0.2103, allocations: 19.89 kB / 0.7414 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.2104, allocations: 21.39 kB / 0.7414 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2104, allocations: 0 / 0.7414 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.2104, allocations: 4 kB / 0.7414 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.2104, allocations: 0 / 0.7414 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006744/0.2111, allocations: 450.2 kB / 0.7418 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.2111, allocations: 4 kB / 0.7418 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.82e-05/0.2111, allocations: 15.98 kB / 0.7419 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-05/0.2112, allocations: 24.91 kB / 0.7419 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.2112, allocations: 11.88 kB / 0.7419 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.2124, allocations: 1.315 MB / 0.7432 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2124, allocations: 160 / 0.7432 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.2127, allocations: 236.2 kB / 0.7434 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.829e-05/0.2128, allocations: 31.91 kB / 0.7434 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.2128, allocations: 7.938 kB / 0.7434 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.2129, allocations: 7.938 kB / 0.7434 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.213, allocations: 7.984 kB / 0.7435 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.213, allocations: 3.938 kB / 0.7435 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000147/0.2131, allocations: 148.6 kB / 0.7436 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2131, allocations: 0 / 0.7436 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003624/0.2135, allocations: 55.89 kB / 0.7436 GB, free: 1.172 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 6 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006724/0.2141, allocations: 0.7717 MB / 0.7444 GB, free: 376 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004544/0.2146, allocations: 226.5 kB / 0.7446 GB, free: 136 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2146, allocations: 0 / 0.7446 GB, free: 136 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002405/0.2148, allocations: 159.2 kB / 0.7448 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.2152, allocations: 45.41 kB / 0.7448 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/0.218, allocations: 2.172 MB / 0.7469 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/0.2181, allocations: 148.2 kB / 0.7471 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.2182, allocations: 33.45 kB / 0.7471 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.658e-05/0.2183, allocations: 55.42 kB / 0.7472 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of SimCode: time 4.4e-07/0.2183, allocations: 0 / 0.7472 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/0.2469, allocations: 4.386 MB / 0.7514 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.15, allocations: 11.73 kB / 0.7515 GB, free: 9.176 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.388926837942563] Failed to read output from testmodel.py, exit status != 0: 12.314256240031682 12.65243662 12.449028481 Calling exit ...