Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.379/2.379, allocations: 254.9 MB / 269.9 MB, free: 9.637 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.001438/0.001438, allocations: 191.1 kB / 329.5 MB, free: 1.16 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.634/2.634, allocations: 225.6 MB / 0.6001 GB, free: 2.211 MB / 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.001374/0.001374, allocations: 95.39 kB / 0.7074 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004927/0.0004929, allocations: 11.06 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2108, allocations: 109.1 MB / 0.9308 GB, free: 25.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003229/0.2141, allocations: 2.125 MB / 0.9328 GB, free: 23 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.2156, allocations: 0.7364 MB / 0.9336 GB, free: 22.26 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.2157, allocations: 4 kB / 0.9336 GB, free: 22.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.2159, allocations: 27.78 kB / 0.9336 GB, free: 22.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003353/0.2163, allocations: 75.69 kB / 0.9337 GB, free: 22.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.2166, allocations: 91.75 kB / 0.9337 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003035/0.217, allocations: 239.3 kB / 0.934 GB, free: 21.83 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002869/0.2173, allocations: 175.2 kB / 0.9341 GB, free: 21.63 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.068e-05/0.2174, allocations: 55.78 kB / 0.9342 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.2176, allocations: 87.66 kB / 0.9343 GB, free: 21.49 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.2177, allocations: 8 kB / 0.9343 GB, free: 21.48 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.2178, allocations: 55.89 kB / 0.9343 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.181e-05/0.2179, allocations: 51.88 kB / 0.9344 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.19e-05/0.218, allocations: 49.64 kB / 0.9344 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.2182, allocations: 159.9 kB / 0.9346 GB, free: 21.17 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2182, allocations: 0 / 0.9346 GB, free: 21.17 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.585e-06/0.2183, allocations: 4 kB / 0.9346 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2183, allocations: 3.938 kB / 0.9346 GB, free: 21.16 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005894/0.2189, allocations: 427.4 kB / 0.935 GB, free: 20.69 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2189, allocations: 8.031 kB / 0.935 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004794/0.2194, allocations: 40.72 kB / 0.9351 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.2197, allocations: 220.1 kB / 0.9353 GB, free: 20.39 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.2197, allocations: 8.656 kB / 0.9353 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.2198, allocations: 20.38 kB / 0.9353 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004334/0.2202, allocations: 227.2 kB / 0.9355 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.2202, allocations: 3.938 kB / 0.9355 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.2203, allocations: 8 kB / 0.9355 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.169e-05/0.2203, allocations: 12.27 kB / 0.9355 GB, free: 20.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.2207, allocations: 144.7 kB / 0.9357 GB, free: 19.96 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.2218, allocations: 1.138 MB / 0.9368 GB, free: 18.69 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.088e-05/0.2219, allocations: 42.5 kB / 0.9368 GB, free: 18.64 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.276e-05/0.222, allocations: 16.86 kB / 0.9368 GB, free: 18.62 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.222, allocations: 0 / 0.9368 GB, free: 18.62 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.222, allocations: 34.64 kB / 0.9369 GB, free: 18.57 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.422e-06/0.222, allocations: 0 / 0.9369 GB, free: 18.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002331/0.2223, allocations: 81.53 kB / 0.9369 GB, free: 18.49 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.2223, allocations: 59.28 kB / 0.937 GB, free: 18.42 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.2225, allocations: 174.3 kB / 0.9372 GB, free: 18.24 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.2225, allocations: 25.7 kB / 0.9372 GB, free: 18.21 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.056e-05/0.2226, allocations: 143.3 kB / 0.9373 GB, free: 18.06 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.2226, allocations: 11.84 kB / 0.9373 GB, free: 18.05 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-06/0.2227, allocations: 4 kB / 0.9373 GB, free: 18.05 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.199e-05/0.2227, allocations: 322.8 kB / 0.9377 GB, free: 17.72 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.38e-05/0.2228, allocations: 19.98 kB / 0.9377 GB, free: 17.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.802e-05/0.2229, allocations: 93.38 kB / 0.9378 GB, free: 17.58 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.828e-05/0.223, allocations: 35.92 kB / 0.9378 GB, free: 17.54 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.223, allocations: 0 / 0.9378 GB, free: 17.54 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000253/0.2233, allocations: 137.5 kB / 0.9379 GB, free: 17.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.856e-05/0.2233, allocations: 161.5 kB / 0.9381 GB, free: 17.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2234, allocations: 4 kB / 0.9381 GB, free: 17.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.2234, allocations: 4 kB / 0.9381 GB, free: 17.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.2236, allocations: 27.98 kB / 0.9381 GB, free: 17.17 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.2236, allocations: 7.938 kB / 0.9381 GB, free: 17.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.2237, allocations: 11.84 kB / 0.9381 GB, free: 17.15 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.2238, allocations: 12 kB / 0.9381 GB, free: 17.14 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.072e-06/0.2238, allocations: 0 / 0.9381 GB, free: 17.14 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001896/0.224, allocations: 103.9 kB / 0.9382 GB, free: 17.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.224, allocations: 0 / 0.9382 GB, free: 17.04 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.711e-06/0.224, allocations: 4 kB / 0.9383 GB, free: 17.04 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.2242, allocations: 24.03 kB / 0.9383 GB, free: 17.01 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.2242, allocations: 8.25 kB / 0.9383 GB, free: 17 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.445e-05/0.2243, allocations: 23.83 kB / 0.9383 GB, free: 16.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.2243, allocations: 11.94 kB / 0.9383 GB, free: 16.97 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.2244, allocations: 210.9 kB / 0.9385 GB, free: 16.75 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/0.2245, allocations: 7.906 kB / 0.9385 GB, free: 16.75 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/0.2245, allocations: 16.92 kB / 0.9385 GB, free: 16.73 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.2245, allocations: 0 / 0.9385 GB, free: 16.73 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2245, allocations: 0 / 0.9385 GB, free: 16.73 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.2245, allocations: 3.938 kB / 0.9385 GB, free: 16.72 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004514/0.225, allocations: 473.1 kB / 0.939 GB, free: 16.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.225, allocations: 0 / 0.939 GB, free: 16.19 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.667e-05/0.2251, allocations: 11.94 kB / 0.939 GB, free: 16.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2251, allocations: 0 / 0.939 GB, free: 16.18 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.2251, allocations: 4 kB / 0.939 GB, free: 16.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2251, allocations: 0 / 0.939 GB, free: 16.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/0.2251, allocations: 8.062 kB / 0.939 GB, free: 16.17 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.2253, allocations: 107.6 kB / 0.9391 GB, free: 16.04 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.2253, allocations: 100.9 kB / 0.9392 GB, free: 15.92 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.2254, allocations: 4 kB / 0.9392 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.804e-05/0.2255, allocations: 3.938 kB / 0.9392 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/0.2255, allocations: 8 kB / 0.9392 GB, free: 15.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.2255, allocations: 0 / 0.9392 GB, free: 15.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000103/0.2256, allocations: 125.4 kB / 0.9394 GB, free: 15.78 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2256, allocations: 0 / 0.9394 GB, free: 15.78 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004322/0.2261, allocations: 51.84 kB / 0.9394 GB, free: 15.73 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.7e-05/0.2262, allocations: 115.1 kB / 0.9395 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002454/0.2264, allocations: 103.8 kB / 0.9396 GB, free: 15.51 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2264, allocations: 0 / 0.9396 GB, free: 15.51 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.93e-05/0.2265, allocations: 15.92 kB / 0.9396 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.2268, allocations: 33.42 kB / 0.9397 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005534/0.2274, allocations: 320.7 kB / 0.94 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.2276, allocations: 0.7241 MB / 0.9407 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001379/0.2277, allocations: 32.61 kB / 0.9407 GB, free: 14.33 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.2278, allocations: 11.44 kB / 0.9407 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of SimCode: time 7.81e-07/0.2278, allocations: 0 / 0.9407 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of Templates: time 0.003962/0.2318, allocations: 0.806 MB / 0.9415 GB, free: 13.52 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)