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.0008312/0.0008312, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 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.0008773/0.0008773, allocations: 207.8 kB / 23.02 MB, free: 2.961 MB / 13.93 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.013/1.013, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.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 2.004/2.004, allocations: 0.5045 GB / 0.8104 GB, free: 2.781 MB / 0.6511 GB " [Timeout remaining time 177] 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 0.001617/0.001617, allocations: 67.89 kB / 1.177 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8789/0.8805, allocations: 180 MB / 1.352 GB, free: 1.715 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004935/0.8854, allocations: 3.781 MB / 1.356 GB, free: 13.92 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.002168/0.8876, allocations: 1.698 MB / 1.358 GB, free: 12.21 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.8878, allocations: 7.938 kB / 1.358 GB, free: 12.2 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009368/0.8887, allocations: 0.5001 MB / 1.358 GB, free: 11.7 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.000422/0.8891, allocations: 214.9 kB / 1.358 GB, free: 11.49 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.8895, allocations: 216.3 kB / 1.359 GB, free: 11.28 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0003853/0.8899, allocations: 478.2 kB / 1.359 GB, free: 10.81 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004242/0.8903, allocations: 283.6 kB / 1.359 GB, free: 10.54 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.8905, allocations: 207.2 kB / 1.36 GB, free: 10.34 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/0.8908, allocations: 211.2 kB / 1.36 GB, free: 10.13 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.8909, allocations: 32 kB / 1.36 GB, free: 10.1 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003169/0.8912, allocations: 215.5 kB / 1.36 GB, free: 9.887 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.8914, allocations: 139.5 kB / 1.36 GB, free: 9.75 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 9.313e-05/0.8915, allocations: 143.4 kB / 1.36 GB, free: 9.609 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004416/0.8919, allocations: 0.502 MB / 1.361 GB, free: 9.105 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.8919, allocations: 4 kB / 1.361 GB, free: 9.102 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.785e-06/0.8919, allocations: 4 kB / 1.361 GB, free: 9.098 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.8919, allocations: 0 / 1.361 GB, free: 9.098 MB / 1.042 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.0007505/0.8927, allocations: 0.5574 MB / 1.361 GB, free: 8.512 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.8927, allocations: 12.86 kB / 1.361 GB, free: 8.5 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.568e-05/0.8928, allocations: 78.72 kB / 1.361 GB, free: 8.414 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005251/0.8933, allocations: 136.6 kB / 1.362 GB, free: 8.281 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.8936, allocations: 238.5 kB / 1.362 GB, free: 8.023 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.8936, allocations: 21.03 kB / 1.362 GB, free: 8.004 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.8936, allocations: 28.38 kB / 1.362 GB, free: 7.977 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005012/0.8941, allocations: 0.5821 MB / 1.362 GB, free: 7.328 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.8942, allocations: 3.984 kB / 1.362 GB, free: 7.324 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.8942, allocations: 15.98 kB / 1.362 GB, free: 7.309 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-05/0.8942, allocations: 28.64 kB / 1.362 GB, free: 7.281 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003238/0.8945, allocations: 322.3 kB / 1.363 GB, free: 6.965 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.8958, allocations: 1.583 MB / 1.364 GB, free: 5.301 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.8961, allocations: 170.6 kB / 1.364 GB, free: 5.125 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.8962, allocations: 92.8 kB / 1.365 GB, free: 5.031 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.8963, allocations: 4 kB / 1.365 GB, free: 5.027 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.8963, allocations: 34.56 kB / 1.365 GB, free: 4.984 MB / 1.042 GB Notification: Performance of pre-optimization done (n=14): time 2.194e-06/0.8963, allocations: 0 / 1.365 GB, free: 4.984 MB / 1.042 GB Notification: Performance of matching and sorting (n=14): time 0.0004152/0.8967, allocations: 231.7 kB / 1.365 GB, free: 4.75 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.8967, allocations: 59.34 kB / 1.365 GB, free: 4.68 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.8969, allocations: 273.8 kB / 1.365 GB, free: 4.402 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.8969, allocations: 25.7 kB / 1.365 GB, free: 4.371 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 9.726e-05/0.897, allocations: 216.2 kB / 1.365 GB, free: 4.156 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.8971, allocations: 43.64 kB / 1.365 GB, free: 4.113 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.8971, allocations: 57.89 kB / 1.365 GB, free: 4.047 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.142e-05/0.8972, allocations: 334.8 kB / 1.366 GB, free: 3.711 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.671e-05/0.8973, allocations: 60.44 kB / 1.366 GB, free: 3.652 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.702e-05/0.8974, allocations: 137 kB / 1.366 GB, free: 3.48 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.8975, allocations: 221.6 kB / 1.366 GB, free: 3.227 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.8975, allocations: 0 / 1.366 GB, free: 3.227 MB / 1.042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002811/0.8978, allocations: 274.3 kB / 1.366 GB, free: 2.949 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.8978, allocations: 4 kB / 1.366 GB, free: 2.945 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.8979, allocations: 4 kB / 1.366 GB, free: 2.941 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001508/0.898, allocations: 24.84 kB / 1.366 GB, free: 2.914 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.8981, allocations: 47.92 kB / 1.367 GB, free: 2.867 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008306/0.8989, allocations: 1.322 MB / 1.368 GB, free: 1.434 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.8991, allocations: 27.78 kB / 1.368 GB, free: 1.406 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.8991, allocations: 12 kB / 1.368 GB, free: 1.395 MB / 1.042 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.0001247/0.8992, allocations: 173.6 kB / 1.368 GB, free: 1.215 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.8992, allocations: 23.86 kB / 1.368 GB, free: 1.191 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.896e-05/0.8992, allocations: 25.83 kB / 1.368 GB, free: 1.156 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.8992, allocations: 8 kB / 1.368 GB, free: 1.148 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.8993, allocations: 0 / 1.368 GB, free: 1.148 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.8993, allocations: 3.938 kB / 1.368 GB, free: 1.145 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005765/0.8998, allocations: 0.6047 MB / 1.369 GB, free: 480 kB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.8998, allocations: 0 / 1.369 GB, free: 480 kB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-05/0.8999, allocations: 23.98 kB / 1.369 GB, free: 456 kB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.03e-05/0.9, allocations: 28.78 kB / 1.369 GB, free: 424 kB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.9, allocations: 4 kB / 1.369 GB, free: 420 kB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006419/0.9006, allocations: 1.315 MB / 1.37 GB, free: 14.98 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.9006, allocations: 0 / 1.37 GB, free: 14.98 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.9008, allocations: 309.2 kB / 1.37 GB, free: 14.64 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.9009, allocations: 39.78 kB / 1.37 GB, free: 14.61 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.9009, allocations: 4.094 kB / 1.37 GB, free: 14.6 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.228e-05/0.901, allocations: 24.02 kB / 1.37 GB, free: 14.58 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.901, allocations: 19.92 kB / 1.37 GB, free: 14.56 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.901, allocations: 4 kB / 1.37 GB, free: 14.55 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0001198/0.9011, allocations: 193.2 kB / 1.371 GB, free: 14.37 MB / 1.057 GB Notification: Performance of sort global known variables: time 5e-08/0.9011, allocations: 0 / 1.371 GB, free: 14.37 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.000276/0.9014, allocations: 75.84 kB / 1.371 GB, free: 14.3 MB / 1.057 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.0004162/0.9018, allocations: 0.8534 MB / 1.371 GB, free: 13.39 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0003725/0.9022, allocations: 266.4 kB / 1.372 GB, free: 13.12 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.9022, allocations: 0 / 1.372 GB, free: 13.12 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.9023, allocations: 183.7 kB / 1.372 GB, free: 12.93 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.9027, allocations: 67.58 kB / 1.372 GB, free: 12.87 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.9049, allocations: 2.728 MB / 1.375 GB, free: 9.945 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.905, allocations: 182 kB / 1.375 GB, free: 9.75 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001094/0.9051, allocations: 50.25 kB / 1.375 GB, free: 9.699 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.614e-05/0.9052, allocations: 83.41 kB / 1.375 GB, free: 9.621 MB / 1.057 GB Notification: Performance of SimCode: time 8.71e-07/0.9052, allocations: 0 / 1.375 GB, free: 9.621 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09224/0.9974, allocations: 6.127 MB / 1.381 GB, free: 3.711 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.391/8.388, allocations: 0 / 1.381 GB, free: 3.711 MB / 1.057 GB " [Timeout remaining time 292] (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: 13.416595209389925]