Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.455/1.455, allocations: 255.9 MB / 271.2 MB, free: 8.883 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.001017/0.001018, allocations: 190 kB / 330.8 MB, free: 468 kB / 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 1.627/1.627, allocations: 225.7 MB / 0.6016 GB, free: 1.625 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.0008255/0.0008251, allocations: 111.5 kB / 0.709 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003611, allocations: 8 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2355, allocations: 109.2 MB / 0.9328 GB, free: 6.266 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002128/0.2376, allocations: 1.632 MB / 0.9343 GB, free: 4.617 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.239, allocations: 0.8291 MB / 0.9352 GB, free: 3.746 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.2392, allocations: 3.938 kB / 0.9352 GB, free: 3.742 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.2394, allocations: 79.77 kB / 0.9352 GB, free: 3.664 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.2395, allocations: 79.75 kB / 0.9353 GB, free: 3.586 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000587/0.2401, allocations: 155.8 kB / 0.9355 GB, free: 3.434 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0002812/0.2404, allocations: 247.2 kB / 0.9357 GB, free: 3.191 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.2406, allocations: 66.11 kB / 0.9358 GB, free: 3.129 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.2407, allocations: 91.61 kB / 0.9358 GB, free: 3.039 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.2409, allocations: 127.5 kB / 0.936 GB, free: 2.914 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.241, allocations: 4 kB / 0.936 GB, free: 2.91 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.2411, allocations: 79.86 kB / 0.9361 GB, free: 2.832 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 8.069e-05/0.2412, allocations: 47.77 kB / 0.9361 GB, free: 2.785 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.2413, allocations: 109.1 kB / 0.9362 GB, free: 2.672 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.2416, allocations: 283.1 kB / 0.9365 GB, free: 2.395 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2416, allocations: 0 / 0.9365 GB, free: 2.395 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2417, allocations: 0 / 0.9365 GB, free: 2.395 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.2417, allocations: 4 kB / 0.9365 GB, free: 2.391 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.000765/0.2424, allocations: 0.5353 MB / 0.937 GB, free: 1.801 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.2425, allocations: 15.98 kB / 0.937 GB, free: 1.785 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.474e-05/0.2426, allocations: 24.66 kB / 0.937 GB, free: 1.762 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.243, allocations: 314.8 kB / 0.9373 GB, free: 1.414 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.2431, allocations: 12.38 kB / 0.9373 GB, free: 1.402 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.2431, allocations: 16.38 kB / 0.9374 GB, free: 1.387 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003676/0.2435, allocations: 233.1 kB / 0.9376 GB, free: 1.137 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2435, allocations: 0 / 0.9376 GB, free: 1.137 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.2435, allocations: 12 kB / 0.9376 GB, free: 1.125 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2435, allocations: 0 / 0.9376 GB, free: 1.125 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.2438, allocations: 132.3 kB / 0.9377 GB, free: 0.9961 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007987/0.2446, allocations: 0.6847 MB / 0.9384 GB, free: 260 kB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.2449, allocations: 194.5 kB / 0.9386 GB, free: 56 kB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.2451, allocations: 100.9 kB / 0.9387 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.2452, allocations: 4 kB / 0.9387 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003501/0.2455, allocations: 180.9 kB / 0.9388 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.733e-06/0.2455, allocations: 3.938 kB / 0.9389 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0007141/0.2462, allocations: 379 kB / 0.9392 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.2464, allocations: 136.5 kB / 0.9393 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.2467, allocations: 270.7 kB / 0.9396 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.2467, allocations: 33.7 kB / 0.9396 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.2469, allocations: 164.1 kB / 0.9398 GB, free: 14.73 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.2469, allocations: 35.47 kB / 0.9398 GB, free: 14.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.442e-05/0.2469, allocations: 8 kB / 0.9398 GB, free: 14.69 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2471, allocations: 338.8 kB / 0.9402 GB, free: 14.35 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.2473, allocations: 91.91 kB / 0.9402 GB, free: 14.26 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.2475, allocations: 137.2 kB / 0.9404 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003588/0.2479, allocations: 254 kB / 0.9406 GB, free: 13.84 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.185e-06/0.2479, allocations: 0 / 0.9406 GB, free: 13.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005461/0.2484, allocations: 346.9 kB / 0.9409 GB, free: 13.48 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.78e-05/0.2485, allocations: 37.77 kB / 0.941 GB, free: 13.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2485, allocations: 0 / 0.941 GB, free: 13.44 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.2485, allocations: 4 kB / 0.941 GB, free: 13.44 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.2487, allocations: 32.02 kB / 0.941 GB, free: 13.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2487, allocations: 4 kB / 0.941 GB, free: 13.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.2488, allocations: 27.83 kB / 0.941 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.2489, allocations: 8 kB / 0.9411 GB, free: 13.37 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001976/0.2491, allocations: 198.3 kB / 0.9412 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.017e-05/0.2491, allocations: 23.72 kB / 0.9413 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.727e-05/0.2492, allocations: 29.83 kB / 0.9413 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.2492, allocations: 4 kB / 0.9413 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2492, allocations: 0 / 0.9413 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.2492, allocations: 0 / 0.9413 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/0.2495, allocations: 289.4 kB / 0.9416 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2495, allocations: 0 / 0.9416 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.2497, allocations: 27.92 kB / 0.9416 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2497, allocations: 0 / 0.9416 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.2497, allocations: 0 / 0.9416 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.2497, allocations: 4 kB / 0.9416 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2497, allocations: 4 kB / 0.9416 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007821/0.2505, allocations: 482.2 kB / 0.9421 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.747e-05/0.2506, allocations: 101 kB / 0.9422 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.2506, allocations: 11.94 kB / 0.9422 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.2507, allocations: 15.98 kB / 0.9422 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.506e-05/0.2508, allocations: 27.95 kB / 0.9422 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.2509, allocations: 4 kB / 0.9422 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002001/0.2511, allocations: 205.9 kB / 0.9424 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2511, allocations: 0 / 0.9424 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002754/0.2514, allocations: 51.94 kB / 0.9425 GB, free: 11.82 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002293/0.2516, allocations: 148 kB / 0.9426 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005188/0.2521, allocations: 295.2 kB / 0.9429 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.2521, allocations: 8.188 kB / 0.9429 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002543/0.2524, allocations: 191.3 kB / 0.9431 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.2527, allocations: 28.97 kB / 0.9431 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.2539, allocations: 0.5455 MB / 0.9436 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.2542, allocations: 0.7478 MB / 0.9444 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.999e-05/0.2543, allocations: 17.55 kB / 0.9444 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.2544, allocations: 15.44 kB / 0.9444 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of SimCode: time 2.61e-07/0.2544, allocations: 0 / 0.9444 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of Templates: time 0.006499/0.2609, allocations: 2.537 MB / 0.9469 GB, free: 7.223 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)