Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001243/0.001243, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.001505/0.001505, allocations: 173.6 kB / 23.24 MB, free: 1.324 MB / 18.57 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 0.9288/0.9288, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.865/1.865, allocations: 389.6 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_13_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_13_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 1.001 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.5e-05, allocations: 2.281 kB / 1.001 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.005297/0.005322, allocations: 3.746 MB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002059/0.007381, allocations: 1.702 MB / 1.006 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.007569, allocations: 11.94 kB / 1.006 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0008902/0.008459, allocations: 490 kB / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004144/0.008874, allocations: 238.5 kB / 1.007 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.00928, allocations: 215.3 kB / 1.007 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004421/0.009722, allocations: 486.2 kB / 1.007 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004377/0.01016, allocations: 293.3 kB / 1.008 GB, free: 6.398 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.0104, allocations: 279.3 kB / 1.008 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003205/0.01072, allocations: 191.5 kB / 1.008 GB, free: 5.938 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.01075, allocations: 28 kB / 1.008 GB, free: 5.91 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/0.01104, allocations: 223.4 kB / 1.008 GB, free: 5.691 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.01115, allocations: 139.5 kB / 1.008 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.648e-05/0.01124, allocations: 119.8 kB / 1.009 GB, free: 5.438 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004772/0.01172, allocations: 0.5218 MB / 1.009 GB, free: 4.914 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.01173, allocations: 0 / 1.009 GB, free: 4.914 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.114e-06/0.01173, allocations: 0 / 1.009 GB, free: 4.914 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.01174, allocations: 0 / 1.009 GB, free: 4.914 MB / 0.9636 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.0007814/0.01252, allocations: 0.5556 MB / 1.01 GB, free: 4.328 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.01256, allocations: 17.34 kB / 1.01 GB, free: 4.312 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/0.01262, allocations: 70.72 kB / 1.01 GB, free: 4.234 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005508/0.01317, allocations: 132.6 kB / 1.01 GB, free: 4.105 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.01347, allocations: 233.2 kB / 1.01 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.01349, allocations: 21.03 kB / 1.01 GB, free: 3.828 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.01353, allocations: 32.36 kB / 1.01 GB, free: 3.797 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005038/0.01403, allocations: 0.5747 MB / 1.011 GB, free: 3.156 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.01404, allocations: 192 / 1.011 GB, free: 3.156 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.01407, allocations: 24.05 kB / 1.011 GB, free: 3.133 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.789e-05/0.01411, allocations: 32.64 kB / 1.011 GB, free: 3.102 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003304/0.01444, allocations: 318.3 kB / 1.011 GB, free: 2.793 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.01575, allocations: 1.583 MB / 1.013 GB, free: 1.125 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.01601, allocations: 158.7 kB / 1.013 GB, free: 0.9609 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.01618, allocations: 104 kB / 1.013 GB, free: 0.8594 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.01619, allocations: 4 kB / 1.013 GB, free: 0.8555 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.01622, allocations: 34.56 kB / 1.013 GB, free: 0.8125 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=14): time 1.432e-06/0.01622, allocations: 3.938 kB / 1.013 GB, free: 0.8086 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14): time 0.0004336/0.01665, allocations: 222.6 kB / 1.013 GB, free: 0.582 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.01671, allocations: 51.5 kB / 1.013 GB, free: 0.5195 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.01691, allocations: 277.7 kB / 1.013 GB, free: 244 kB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.01693, allocations: 29.7 kB / 1.013 GB, free: 208 kB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.01705, allocations: 208.5 kB / 1.014 GB, free: 15.99 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.01707, allocations: 55.58 kB / 1.014 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/0.01712, allocations: 49.89 kB / 1.014 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.386e-05/0.01721, allocations: 338.6 kB / 1.014 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.59e-05/0.01727, allocations: 56.44 kB / 1.014 GB, free: 15.48 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.01737, allocations: 152 kB / 1.014 GB, free: 15.3 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.01759, allocations: 218.9 kB / 1.014 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.0176, allocations: 0 / 1.014 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002686/0.01787, allocations: 254.3 kB / 1.015 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.01788, allocations: 8 kB / 1.015 GB, free: 14.78 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.01789, allocations: 4 kB / 1.015 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001394/0.01803, allocations: 28.78 kB / 1.015 GB, free: 14.74 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.01814, allocations: 51.97 kB / 1.015 GB, free: 14.69 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000856/0.019, allocations: 1.315 MB / 1.016 GB, free: 13.26 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.0191, allocations: 31.73 kB / 1.016 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.01912, allocations: 12 kB / 1.016 GB, free: 13.22 MB / 0.9792 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.000118/0.01923, allocations: 164.4 kB / 1.016 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.01926, allocations: 31.73 kB / 1.016 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.505e-05/0.01929, allocations: 29.77 kB / 1.016 GB, free: 12.99 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.01929, allocations: 3.984 kB / 1.016 GB, free: 12.99 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.0193, allocations: 96 / 1.016 GB, free: 12.99 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.0193, allocations: 11.98 kB / 1.016 GB, free: 12.98 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006815/0.01998, allocations: 0.6007 MB / 1.017 GB, free: 12.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.01999, allocations: 0 / 1.017 GB, free: 12.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.176e-05/0.02004, allocations: 27.92 kB / 1.017 GB, free: 12.28 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.994e-05/0.02011, allocations: 24.84 kB / 1.017 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.02012, allocations: 8.188 kB / 1.017 GB, free: 12.24 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006438/0.02076, allocations: 1.315 MB / 1.018 GB, free: 10.81 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.02077, allocations: 4.031 kB / 1.018 GB, free: 10.81 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.02099, allocations: 315.4 kB / 1.019 GB, free: 10.46 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.332e-05/0.02105, allocations: 35.8 kB / 1.019 GB, free: 10.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.02106, allocations: 8.156 kB / 1.019 GB, free: 10.42 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.135e-05/0.02115, allocations: 12.09 kB / 1.019 GB, free: 10.41 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/0.02118, allocations: 27.78 kB / 1.019 GB, free: 10.38 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.02119, allocations: 8 kB / 1.019 GB, free: 10.38 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001287/0.02132, allocations: 189.2 kB / 1.019 GB, free: 10.2 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.02132, allocations: 0 / 1.019 GB, free: 10.2 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002688/0.02159, allocations: 75.89 kB / 1.019 GB, free: 10.12 MB / 0.9792 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.0004067/0.02199, allocations: 0.843 MB / 1.02 GB, free: 9.23 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003427/0.02234, allocations: 270.3 kB / 1.02 GB, free: 8.953 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.02234, allocations: 0 / 1.02 GB, free: 8.953 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.02246, allocations: 175.5 kB / 1.02 GB, free: 8.77 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.02278, allocations: 58.28 kB / 1.02 GB, free: 8.715 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.02498, allocations: 2.708 MB / 1.023 GB, free: 5.809 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.0251, allocations: 186.1 kB / 1.023 GB, free: 5.609 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001066/0.02521, allocations: 54.17 kB / 1.023 GB, free: 5.559 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.117e-05/0.0253, allocations: 84.47 kB / 1.023 GB, free: 5.477 MB / 0.9792 GB Notification: Performance of SimCode: time 1.363e-06/0.0253, allocations: 3.938 kB / 1.023 GB, free: 5.473 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08737/0.1127, allocations: 6.234 MB / 1.029 GB, free: 15.44 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.897/7.01, allocations: 18.17 kB / 1.029 GB, free: 15.43 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_DC_Loads_Examples_Resistor.fmu) > Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Electrical_DC_Loads_Examples_Resistor.fmu) > Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.634742457419634]