Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.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.00128/0.00128, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.0015/0.0015, allocations: 209 kB / 22.99 MB, free: 4.977 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.617/1.617, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.018/1.018, allocations: 149.9 MB / 463 MB, free: 10.33 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.Loads.Examples.Resistor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor",fmuType="me",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.002328/0.002328, allocations: 66.91 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1924, allocations: 89.18 MB / 0.7281 GB, free: 1.008 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.007054/0.1995, allocations: 3.771 MB / 0.7318 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003815/0.2033, allocations: 1.701 MB / 0.7335 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003849/0.2037, allocations: 15.94 kB / 0.7335 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001809/0.2055, allocations: 494.1 kB / 0.734 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008092/0.2063, allocations: 234.9 kB / 0.7342 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006902/0.207, allocations: 207.5 kB / 0.7344 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000753/0.2078, allocations: 478.4 kB / 0.7348 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006271/0.2084, allocations: 297.3 kB / 0.7351 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003854/0.2088, allocations: 199.4 kB / 0.7353 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006042/0.2094, allocations: 211.1 kB / 0.7355 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.122e-05/0.2095, allocations: 32 kB / 0.7356 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005673/0.21, allocations: 223.4 kB / 0.7358 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.2102, allocations: 127.6 kB / 0.7359 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002455/0.2105, allocations: 143.4 kB / 0.736 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009128/0.2114, allocations: 0.5059 MB / 0.7365 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2114, allocations: 0 / 0.7365 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2114, allocations: 0 / 0.7365 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.2114, allocations: 0 / 0.7365 GB, free: 8.391 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001325/0.2127, allocations: 0.5713 MB / 0.7371 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.2128, allocations: 12.03 kB / 0.7371 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.2129, allocations: 66.72 kB / 0.7372 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.2139, allocations: 132.6 kB / 0.7373 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005224/0.2144, allocations: 237.9 kB / 0.7375 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.2144, allocations: 21.03 kB / 0.7375 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.675e-05/0.2145, allocations: 28.38 kB / 0.7376 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008665/0.2154, allocations: 0.586 MB / 0.7381 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.2154, allocations: 0 / 0.7381 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/0.2154, allocations: 12 kB / 0.7381 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.705e-05/0.2155, allocations: 32.64 kB / 0.7382 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005356/0.216, allocations: 314.3 kB / 0.7385 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00232/0.2183, allocations: 1.587 MB / 0.74 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.2187, allocations: 154.7 kB / 0.7402 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.219, allocations: 104.8 kB / 0.7403 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.219, allocations: 0 / 0.7403 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.219, allocations: 38.56 kB / 0.7403 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.219, allocations: 3.938 kB / 0.7403 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.000616/0.2196, allocations: 225.6 kB / 0.7405 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.2197, allocations: 51.41 kB / 0.7406 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.22, allocations: 269.8 kB / 0.7408 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.22, allocations: 33.7 kB / 0.7409 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.2202, allocations: 212.3 kB / 0.7411 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.685e-05/0.2202, allocations: 59.52 kB / 0.7411 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.197e-05/0.2203, allocations: 45.94 kB / 0.7412 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.2205, allocations: 334.8 kB / 0.7415 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.2206, allocations: 60.45 kB / 0.7415 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.2208, allocations: 152.9 kB / 0.7417 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.2211, allocations: 217.2 kB / 0.7419 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2211, allocations: 0 / 0.7419 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004676/0.2215, allocations: 266 kB / 0.7421 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.2216, allocations: 8 kB / 0.7422 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2216, allocations: 4 kB / 0.7422 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001821/0.2217, allocations: 28.84 kB / 0.7422 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.2219, allocations: 51.97 kB / 0.7422 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.2232, allocations: 1.319 MB / 0.7435 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.2234, allocations: 31.73 kB / 0.7436 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.2234, allocations: 12 kB / 0.7436 GB, free: 0.6875 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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.0001859/0.2236, allocations: 167 kB / 0.7437 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.2237, allocations: 23.86 kB / 0.7437 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.782e-05/0.2237, allocations: 29.77 kB / 0.7438 GB, free: 472 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2237, allocations: 4.156 kB / 0.7438 GB, free: 468 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.2237, allocations: 0 / 0.7438 GB, free: 468 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2237, allocations: 0 / 0.7438 GB, free: 468 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.2249, allocations: 0.6007 MB / 0.7444 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2249, allocations: 4 kB / 0.7444 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.225, allocations: 27.92 kB / 0.7444 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/0.2251, allocations: 32.97 kB / 0.7444 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.2251, allocations: 4 kB / 0.7444 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.2262, allocations: 1.303 MB / 0.7457 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2262, allocations: 0 / 0.7457 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004026/0.2266, allocations: 329.2 kB / 0.746 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.2267, allocations: 43.98 kB / 0.7461 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.2267, allocations: 4 kB / 0.7461 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.2269, allocations: 12 kB / 0.7461 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.2269, allocations: 19.84 kB / 0.7461 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.227, allocations: 12 kB / 0.7461 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002028/0.2272, allocations: 185.2 kB / 0.7463 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2272, allocations: 0 / 0.7463 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004181/0.2276, allocations: 79.81 kB / 0.7464 GB, free: 13.59 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 13 * 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.0007955/0.2284, allocations: 0.8573 MB / 0.7472 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005101/0.2289, allocations: 266.4 kB / 0.7474 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2289, allocations: 0 / 0.7474 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002513/0.2291, allocations: 183.7 kB / 0.7476 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004853/0.2296, allocations: 54.5 kB / 0.7477 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00354/0.2332, allocations: 2.709 MB / 0.7503 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.2334, allocations: 186.1 kB / 0.7505 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001486/0.2335, allocations: 42.27 kB / 0.7505 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.2336, allocations: 79.41 kB / 0.7506 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.2336, allocations: 3.938 kB / 0.7506 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04108/0.2747, allocations: 6.13 MB / 0.7566 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.89, allocations: 64 / 0.7566 GB, free: 3.031 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_Resistor.fmu > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.183099613990635] Failed to read output from testmodel.py, exit status != 0: 12.008292227983475 12.319197802 12.104569973 Calling exit ...