Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001287/0.001287, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001394/0.001394, allocations: 213.9 kB / 23.03 MB, free: 4.922 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.002534/0.002534, allocations: 291.4 kB / 313.5 MB, free: 2.621 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.223/1.223, allocations: 180.6 MB / 0.5377 GB, free: 14.5 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.DC.Loads.Examples.Resistor,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Loads_Examples_Resistor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Loads_Examples_Resistor",fmuType="cs",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.002782/0.002782, allocations: 99.86 kB / 0.7402 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1823, allocations: 95.39 MB / 0.8334 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.006771/0.1891, allocations: 3.777 MB / 0.8371 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003606/0.1927, allocations: 1.679 MB / 0.8387 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003388/0.193, allocations: 7.938 kB / 0.8387 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001839/0.1949, allocations: 0.4925 MB / 0.8392 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007574/0.1956, allocations: 222.9 kB / 0.8394 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006846/0.1963, allocations: 203.5 kB / 0.8396 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008042/0.1971, allocations: 482.4 kB / 0.8401 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006601/0.1978, allocations: 293.4 kB / 0.8404 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003766/0.1982, allocations: 199.4 kB / 0.8405 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005797/0.1987, allocations: 227.1 kB / 0.8408 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.636e-05/0.1988, allocations: 28 kB / 0.8408 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000489/0.1993, allocations: 215.5 kB / 0.841 GB, free: 424 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.1995, allocations: 139.5 kB / 0.8411 GB, free: 284 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.1997, allocations: 139.4 kB / 0.8413 GB, free: 144 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008631/0.2006, allocations: 0.5059 MB / 0.8418 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2006, allocations: 4 kB / 0.8418 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.492e-06/0.2006, allocations: 0 / 0.8418 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.728e-05/0.2006, allocations: 0 / 0.8418 GB, free: 15.63 MB / 0.5919 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.00137/0.202, allocations: 0.5713 MB / 0.8423 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.202, allocations: 9.344 kB / 0.8423 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.202e-05/0.202, allocations: 8.844 kB / 0.8423 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001093/0.2021, allocations: 70.72 kB / 0.8424 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009937/0.2031, allocations: 132.6 kB / 0.8425 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004535/0.2036, allocations: 237.9 kB / 0.8428 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.2036, allocations: 21.03 kB / 0.8428 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.964e-05/0.2037, allocations: 32.36 kB / 0.8428 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009216/0.2046, allocations: 0.582 MB / 0.8434 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.2046, allocations: 7.938 kB / 0.8434 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.45e-05/0.2047, allocations: 15.98 kB / 0.8434 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.944e-05/0.2047, allocations: 32.62 kB / 0.8434 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005971/0.2053, allocations: 318.3 kB / 0.8437 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002481/0.2078, allocations: 1.567 MB / 0.8453 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/0.2082, allocations: 170.5 kB / 0.8454 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.2085, allocations: 100.8 kB / 0.8455 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.2085, allocations: 4 kB / 0.8455 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.2085, allocations: 30.56 kB / 0.8456 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.793e-06/0.2085, allocations: 7.938 kB / 0.8456 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.000664/0.2092, allocations: 232.5 kB / 0.8458 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.2092, allocations: 55.5 kB / 0.8458 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003425/0.2096, allocations: 269.8 kB / 0.8461 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.2096, allocations: 25.7 kB / 0.8461 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.2098, allocations: 216.2 kB / 0.8463 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.742e-05/0.2098, allocations: 47.64 kB / 0.8464 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.126e-05/0.2099, allocations: 53.89 kB / 0.8464 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.2101, allocations: 338.8 kB / 0.8467 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.2102, allocations: 52.44 kB / 0.8468 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.2104, allocations: 152.7 kB / 0.8469 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.2107, allocations: 222.9 kB / 0.8472 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.2107, allocations: 0 / 0.8472 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004605/0.2112, allocations: 257 kB / 0.8474 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2112, allocations: 8.031 kB / 0.8474 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.2112, allocations: 4 kB / 0.8474 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002121/0.2114, allocations: 24.84 kB / 0.8474 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.2116, allocations: 59.84 kB / 0.8475 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.2128, allocations: 1.307 MB / 0.8488 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.213, allocations: 24 kB / 0.8488 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.2131, allocations: 15.94 kB / 0.8488 GB, free: 7.918 MB / 0.5919 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.0001882/0.2133, allocations: 170.3 kB / 0.849 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/0.2133, allocations: 31.75 kB / 0.849 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.975e-05/0.2134, allocations: 29.77 kB / 0.849 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.2134, allocations: 4 kB / 0.849 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2134, allocations: 0 / 0.849 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.2134, allocations: 3.984 kB / 0.849 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009529/0.2143, allocations: 0.5969 MB / 0.8496 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.2143, allocations: 4.062 kB / 0.8496 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.2145, allocations: 35.86 kB / 0.8497 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.882e-05/0.2145, allocations: 20.84 kB / 0.8497 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.2146, allocations: 8 kB / 0.8497 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.2158, allocations: 1.316 MB / 0.851 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.2158, allocations: 4.031 kB / 0.851 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004314/0.2162, allocations: 317.2 kB / 0.8513 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-05/0.2163, allocations: 43.73 kB / 0.8513 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.2163, allocations: 4 kB / 0.8513 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.2165, allocations: 12.19 kB / 0.8513 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.2165, allocations: 23.91 kB / 0.8514 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.2165, allocations: 11.94 kB / 0.8514 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002144/0.2168, allocations: 189.2 kB / 0.8515 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.2168, allocations: 0 / 0.8515 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004021/0.2172, allocations: 75.89 kB / 0.8516 GB, free: 4.805 MB / 0.5919 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.0007434/0.2179, allocations: 0.843 MB / 0.8524 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005282/0.2184, allocations: 269.2 kB / 0.8527 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.2184, allocations: 0 / 0.8527 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002394/0.2187, allocations: 182.5 kB / 0.8529 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004891/0.2192, allocations: 62.48 kB / 0.8529 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.2228, allocations: 2.733 MB / 0.8556 GB, free: 472 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.223, allocations: 186.1 kB / 0.8558 GB, free: 264 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001529/0.2231, allocations: 38.27 kB / 0.8558 GB, free: 228 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.2233, allocations: 87.41 kB / 0.8559 GB, free: 144 kB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.2233, allocations: 0 / 0.8559 GB, free: 144 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03041/0.2537, allocations: 5.848 MB / 0.8616 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.85, allocations: 12.14 kB / 0.8616 GB, free: 10.51 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_DC_Loads_Examples_Resistor.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.07953838899266] Failed to read output from testmodel.py, exit status != 0: 12.01617619895842 12.046050233 11.840058711 Calling exit ...