Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.41/2.41, allocations: 254.9 MB / 269.9 MB, free: 9.656 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 200.4 kB / 329.5 MB, free: 1.176 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.742/2.742, allocations: 225.6 MB / 0.6001 GB, free: 472 kB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009531/0.0009528, allocations: 102 kB / 0.7074 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004874/0.0004877, allocations: 10.78 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2535, allocations: 109.1 MB / 0.9308 GB, free: 24.91 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.005064/0.2587, allocations: 3.344 MB / 0.934 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003239/0.2619, allocations: 1.614 MB / 0.9356 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000309/0.2623, allocations: 7.938 kB / 0.9356 GB, free: 19.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.2626, allocations: 55.56 kB / 0.9357 GB, free: 19.87 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000655/0.2632, allocations: 179 kB / 0.9358 GB, free: 19.69 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006754/0.2639, allocations: 143.7 kB / 0.936 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0007093/0.2647, allocations: 0.5449 MB / 0.9365 GB, free: 19 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004682/0.2651, allocations: 301.2 kB / 0.9368 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002486/0.2654, allocations: 159.4 kB / 0.9369 GB, free: 18.53 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004678/0.2659, allocations: 199.3 kB / 0.9371 GB, free: 18.33 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.695e-05/0.266, allocations: 12 kB / 0.9371 GB, free: 18.32 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004714/0.2664, allocations: 127.8 kB / 0.9373 GB, free: 18.2 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.2666, allocations: 103.7 kB / 0.9374 GB, free: 18.09 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.909e-05/0.2667, allocations: 85.52 kB / 0.9374 GB, free: 18 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005168/0.2672, allocations: 371.3 kB / 0.9378 GB, free: 17.64 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2672, allocations: 0 / 0.9378 GB, free: 17.64 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2672, allocations: 8 kB / 0.9378 GB, free: 17.63 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.2673, allocations: 0 / 0.9378 GB, free: 17.63 MB / 0.5886 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.001045/0.2683, allocations: 0.5731 MB / 0.9384 GB, free: 17.01 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.2684, allocations: 16.02 kB / 0.9384 GB, free: 17 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.2696, allocations: 140.3 kB / 0.9385 GB, free: 16.86 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004916/0.2702, allocations: 279.8 kB / 0.9388 GB, free: 16.55 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.2702, allocations: 25.02 kB / 0.9388 GB, free: 16.52 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.208e-05/0.2703, allocations: 28.38 kB / 0.9388 GB, free: 16.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008703/0.2712, allocations: 463.7 kB / 0.9393 GB, free: 16 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.2712, allocations: 0 / 0.9393 GB, free: 16 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.298e-05/0.2713, allocations: 12 kB / 0.9393 GB, free: 15.99 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.351e-05/0.2713, allocations: 32.53 kB / 0.9393 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007199/0.2721, allocations: 325.9 kB / 0.9396 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002762/0.2748, allocations: 2.189 MB / 0.9418 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/0.2754, allocations: 251.8 kB / 0.942 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003385/0.2757, allocations: 112.8 kB / 0.9421 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.2758, allocations: 4 kB / 0.9421 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.2758, allocations: 34.56 kB / 0.9421 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=14): time 2.124e-06/0.2758, allocations: 0 / 0.9421 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14): time 0.0007864/0.2766, allocations: 303.5 kB / 0.9424 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.2767, allocations: 55.41 kB / 0.9425 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/0.277, allocations: 270.5 kB / 0.9427 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.2771, allocations: 29.7 kB / 0.9428 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.2772, allocations: 203.8 kB / 0.943 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.2772, allocations: 55.23 kB / 0.943 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.42e-05/0.2773, allocations: 4 kB / 0.943 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.606e-05/0.2774, allocations: 338.8 kB / 0.9434 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.2775, allocations: 52.44 kB / 0.9434 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.2777, allocations: 145.9 kB / 0.9435 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.2779, allocations: 87.84 kB / 0.9436 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2779, allocations: 0 / 0.9436 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006266/0.2785, allocations: 254.1 kB / 0.9439 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.2786, allocations: 4 kB / 0.9439 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.2786, allocations: 4 kB / 0.9439 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002224/0.2788, allocations: 28.94 kB / 0.9439 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.2792, allocations: 55.84 kB / 0.944 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.2802, allocations: 1.327 MB / 0.9453 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.2806, allocations: 27.69 kB / 0.9453 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.2806, allocations: 12.22 kB / 0.9453 GB, free: 9.34 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002096/0.2808, allocations: 166.3 kB / 0.9454 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.305e-05/0.2809, allocations: 31.66 kB / 0.9455 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.858e-05/0.281, allocations: 29.83 kB / 0.9455 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.281, allocations: 0 / 0.9455 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.281, allocations: 0 / 0.9455 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.281, allocations: 0 / 0.9455 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.2821, allocations: 0.7063 MB / 0.9462 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.2822, allocations: 4 kB / 0.9462 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.2824, allocations: 20.17 kB / 0.9462 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001284/0.2825, allocations: 32.83 kB / 0.9463 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.2825, allocations: 4 kB / 0.9463 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009299/0.2835, allocations: 1.319 MB / 0.9475 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.2835, allocations: 4.031 kB / 0.9475 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/0.2839, allocations: 313.2 kB / 0.9478 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.2841, allocations: 116.8 kB / 0.948 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.2841, allocations: 0 / 0.948 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.2844, allocations: 12 kB / 0.948 GB, free: 6.309 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.2845, allocations: 19.92 kB / 0.948 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.2845, allocations: 8 kB / 0.948 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002233/0.2847, allocations: 197.8 kB / 0.9482 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2847, allocations: 0 / 0.9482 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005073/0.2852, allocations: 75.75 kB / 0.9483 GB, free: 6.012 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001272/0.2854, allocations: 115.1 kB / 0.9484 GB, free: 5.891 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006099/0.286, allocations: 266.5 kB / 0.9486 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.286, allocations: 0 / 0.9486 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.2863, allocations: 183.6 kB / 0.9488 GB, free: 5.426 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006779/0.287, allocations: 67.42 kB / 0.9489 GB, free: 5.363 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.2882, allocations: 0.6303 MB / 0.9495 GB, free: 4.684 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.2885, allocations: 0.7911 MB / 0.9502 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002551/0.2888, allocations: 46.25 kB / 0.9503 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.52e-05/0.2888, allocations: 23.38 kB / 0.9503 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of SimCode: time 1.233e-06/0.2889, allocations: 4 kB / 0.9503 GB, free: 3.793 MB / 0.5886 GB Notification: Performance of Templates: time 0.008467/0.2973, allocations: 2.485 MB / 0.9527 GB, free: 1.316 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)