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.001394/0.001394, allocations: 114.2 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.001724/0.001724, allocations: 203.1 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.545/1.545, allocations: 230.6 MB / 254.2 MB, free: 15.08 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.026/1.026, allocations: 150 MB / 460.2 MB, free: 5.254 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.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.003246/0.003246, allocations: 64.47 kB / 0.6368 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1835, allocations: 89.14 MB / 0.7238 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.00551/0.189, allocations: 3.251 MB / 0.727 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002604/0.1916, allocations: 1.479 MB / 0.7284 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.1918, allocations: 7.938 kB / 0.7285 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.1928, allocations: 340.8 kB / 0.7288 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004369/0.1933, allocations: 155.2 kB / 0.7289 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.1938, allocations: 155.6 kB / 0.7291 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004681/0.1942, allocations: 326.9 kB / 0.7294 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004183/0.1946, allocations: 199.8 kB / 0.7296 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002833/0.1949, allocations: 151.5 kB / 0.7297 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003234/0.1953, allocations: 163.4 kB / 0.7299 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.148e-05/0.1953, allocations: 20 kB / 0.7299 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000362/0.1957, allocations: 179.6 kB / 0.7301 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.1958, allocations: 83.73 kB / 0.7301 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.1959, allocations: 123.3 kB / 0.7303 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006139/0.1965, allocations: 366.7 kB / 0.7306 GB, free: 13.06 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1965, allocations: 0 / 0.7306 GB, free: 13.06 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1965, allocations: 3.938 kB / 0.7306 GB, free: 13.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.1966, allocations: 0 / 0.7306 GB, free: 13.05 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001173/0.1977, allocations: 0.555 MB / 0.7312 GB, free: 12.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1978, allocations: 8.031 kB / 0.7312 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.997e-05/0.1978, allocations: 8.562 kB / 0.7312 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.835e-05/0.1979, allocations: 54.73 kB / 0.7312 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007167/0.1986, allocations: 96.66 kB / 0.7313 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.199, allocations: 260.7 kB / 0.7316 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.199, allocations: 12.81 kB / 0.7316 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.199, allocations: 20.38 kB / 0.7316 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005652/0.1996, allocations: 316.2 kB / 0.7319 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.1996, allocations: 4 kB / 0.7319 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.1996, allocations: 8 kB / 0.7319 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.863e-05/0.1997, allocations: 20.42 kB / 0.7319 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004174/0.2001, allocations: 209.6 kB / 0.7321 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.2018, allocations: 1.506 MB / 0.7336 GB, free: 9.707 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004496/0.2023, allocations: 195.7 kB / 0.7338 GB, free: 9.488 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.2024, allocations: 36.91 kB / 0.7338 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.2024, allocations: 4 kB / 0.7338 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.2024, allocations: 38.56 kB / 0.7339 GB, free: 9.398 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.2024, allocations: 0 / 0.7339 GB, free: 9.398 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0006424/0.2031, allocations: 267.4 kB / 0.7341 GB, free: 9.109 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.2031, allocations: 51.41 kB / 0.7342 GB, free: 9.047 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.2033, allocations: 206.9 kB / 0.7344 GB, free: 8.836 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.2034, allocations: 25.7 kB / 0.7344 GB, free: 8.805 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.2035, allocations: 192 kB / 0.7346 GB, free: 8.613 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.2035, allocations: 27.75 kB / 0.7346 GB, free: 8.586 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-05/0.2036, allocations: 41.66 kB / 0.7346 GB, free: 8.539 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.2037, allocations: 322.8 kB / 0.7349 GB, free: 8.215 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.2039, allocations: 43.97 kB / 0.735 GB, free: 8.172 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.204, allocations: 120.5 kB / 0.7351 GB, free: 8.023 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.2043, allocations: 164.4 kB / 0.7353 GB, free: 7.832 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2043, allocations: 0 / 0.7353 GB, free: 7.832 MB / 0.545 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004125/0.2047, allocations: 214.2 kB / 0.7355 GB, free: 7.613 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.2047, allocations: 11.94 kB / 0.7355 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2047, allocations: 0 / 0.7355 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/0.2049, allocations: 32.78 kB / 0.7355 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.205, allocations: 31.92 kB / 0.7355 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.2063, allocations: 1.422 MB / 0.7369 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.2065, allocations: 24.05 kB / 0.737 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.2065, allocations: 4 kB / 0.737 GB, free: 5.945 MB / 0.545 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.0001571/0.2066, allocations: 161.6 kB / 0.7371 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.2067, allocations: 19.86 kB / 0.7371 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.874e-05/0.2067, allocations: 17.41 kB / 0.7371 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2067, allocations: 0 / 0.7371 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2067, allocations: 0 / 0.7371 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2067, allocations: 3.984 kB / 0.7371 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006953/0.2074, allocations: 491.2 kB / 0.7376 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.2074, allocations: 3.984 kB / 0.7376 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.842e-05/0.2075, allocations: 8 kB / 0.7376 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.707e-05/0.2076, allocations: 28.83 kB / 0.7377 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.2076, allocations: 3.938 kB / 0.7377 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.2088, allocations: 1.426 MB / 0.7391 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2088, allocations: 4.156 kB / 0.7391 GB, free: 3.582 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.2091, allocations: 232.2 kB / 0.7393 GB, free: 3.336 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.902e-05/0.2092, allocations: 97.02 kB / 0.7394 GB, free: 3.223 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.2092, allocations: 3.984 kB / 0.7394 GB, free: 3.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.2093, allocations: 4 kB / 0.7394 GB, free: 3.215 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.2094, allocations: 19.92 kB / 0.7394 GB, free: 3.195 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.2094, allocations: 3.938 kB / 0.7394 GB, free: 3.191 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001416/0.2095, allocations: 148.6 kB / 0.7395 GB, free: 3.047 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2095, allocations: 0 / 0.7395 GB, free: 3.047 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003527/0.2099, allocations: 59.83 kB / 0.7396 GB, free: 2.988 MB / 0.545 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.00064/0.2105, allocations: 0.7683 MB / 0.7403 GB, free: 2.188 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000467/0.211, allocations: 226.6 kB / 0.7406 GB, free: 1.953 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.211, allocations: 0 / 0.7406 GB, free: 1.953 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.2112, allocations: 163.2 kB / 0.7407 GB, free: 1.781 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.2116, allocations: 43.7 kB / 0.7408 GB, free: 1.738 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/0.2143, allocations: 2.164 MB / 0.7429 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.2147, allocations: 0.7553 MB / 0.7436 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001161/0.2148, allocations: 33.52 kB / 0.7436 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.215, allocations: 63.41 kB / 0.7437 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.215, allocations: 0 / 0.7437 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.2412, allocations: 4.094 MB / 0.7477 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/10.45, allocations: 12.53 kB / 0.7477 GB, free: 10.63 MB / 0.5606 GB " [Timeout remaining time 649] (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: 14.58824542799266] Failed to read output from testmodel.py, exit status != 0: 10.59240367996972 10.606478933 10.406768047 Calling exit ...