Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") 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.472/1.472, allocations: 255.9 MB / 271.2 MB, free: 8.895 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.001303/0.001303, allocations: 188.8 kB / 330.8 MB, free: 464 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.635/1.635, allocations: 225.7 MB / 0.6016 GB, free: 15.89 MB / 442.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.0009144/0.0009143, allocations: 97.44 kB / 0.709 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005294/0.0005295, allocations: 9.281 kB / 0.8261 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2057, allocations: 109.2 MB / 0.9328 GB, free: 24.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002477/0.2082, allocations: 2.148 MB / 0.9348 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.2094, allocations: 1.275 MB / 0.9361 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.2096, allocations: 4 kB / 0.9361 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.2097, allocations: 27.78 kB / 0.9361 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.2101, allocations: 103.6 kB / 0.9362 GB, free: 20.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.2104, allocations: 103.8 kB / 0.9363 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.2106, allocations: 291.3 kB / 0.9366 GB, free: 20.04 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002192/0.2109, allocations: 187 kB / 0.9368 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.837e-05/0.2109, allocations: 67.7 kB / 0.9368 GB, free: 19.76 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.2112, allocations: 91.64 kB / 0.9369 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.2112, allocations: 8 kB / 0.9369 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002028/0.2114, allocations: 139.7 kB / 0.9371 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.67e-05/0.2115, allocations: 43.88 kB / 0.9371 GB, free: 19.48 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.139e-05/0.2115, allocations: 89.38 kB / 0.9372 GB, free: 19.39 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.2118, allocations: 215.5 kB / 0.9374 GB, free: 19.18 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.2118, allocations: 4 kB / 0.9374 GB, free: 19.17 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2118, allocations: 0 / 0.9374 GB, free: 19.17 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.2118, allocations: 4 kB / 0.9374 GB, free: 19.17 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.0005323/0.2124, allocations: 427.3 kB / 0.9378 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.2124, allocations: 11.98 kB / 0.9378 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000353/0.2128, allocations: 44.7 kB / 0.9379 GB, free: 18.64 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.213, allocations: 212.1 kB / 0.9381 GB, free: 18.39 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.213, allocations: 8.656 kB / 0.9381 GB, free: 18.39 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.213, allocations: 12.38 kB / 0.9381 GB, free: 18.38 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.2133, allocations: 240.3 kB / 0.9383 GB, free: 18.12 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2134, allocations: 4.172 kB / 0.9383 GB, free: 18.12 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.2134, allocations: 7.938 kB / 0.9383 GB, free: 18.11 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/0.2134, allocations: 12.28 kB / 0.9383 GB, free: 18.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.2136, allocations: 148.7 kB / 0.9385 GB, free: 17.95 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008252/0.2144, allocations: 1.134 MB / 0.9396 GB, free: 16.69 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.78e-05/0.2145, allocations: 38.56 kB / 0.9396 GB, free: 16.64 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/0.2146, allocations: 16.86 kB / 0.9397 GB, free: 16.62 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.2146, allocations: 3.938 kB / 0.9397 GB, free: 16.62 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.206e-05/0.2146, allocations: 30.56 kB / 0.9397 GB, free: 16.58 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.2146, allocations: 0 / 0.9397 GB, free: 16.58 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001685/0.2148, allocations: 81.58 kB / 0.9398 GB, free: 16.49 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/0.2148, allocations: 59.34 kB / 0.9398 GB, free: 16.42 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.2149, allocations: 173.6 kB / 0.94 GB, free: 16.25 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.2149, allocations: 25.7 kB / 0.94 GB, free: 16.21 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.75e-05/0.215, allocations: 139.4 kB / 0.9401 GB, free: 16.07 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.214e-05/0.2151, allocations: 19.73 kB / 0.9402 GB, free: 16.05 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/0.2151, allocations: 4 kB / 0.9402 GB, free: 16.05 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.892e-05/0.2151, allocations: 322.8 kB / 0.9405 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.461e-05/0.2152, allocations: 12 kB / 0.9405 GB, free: 15.71 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.404e-05/0.2152, allocations: 97.36 kB / 0.9406 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.649e-05/0.2153, allocations: 117.3 kB / 0.9407 GB, free: 15.44 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2153, allocations: 0 / 0.9407 GB, free: 15.44 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001586/0.2155, allocations: 137.3 kB / 0.9408 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.267e-05/0.2156, allocations: 161.8 kB / 0.941 GB, free: 15.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.2156, allocations: 11.92 kB / 0.941 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.2156, allocations: 8 kB / 0.941 GB, free: 15.08 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.2157, allocations: 27.94 kB / 0.941 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2157, allocations: 4 kB / 0.941 GB, free: 15.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.767e-05/0.2158, allocations: 15.83 kB / 0.941 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.2158, allocations: 8 kB / 0.941 GB, free: 15.03 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.783e-06/0.2158, allocations: 4 kB / 0.941 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001228/0.216, allocations: 104 kB / 0.9411 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-06/0.216, allocations: 0 / 0.9411 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.476e-06/0.216, allocations: 4 kB / 0.9412 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.819e-05/0.2161, allocations: 27.92 kB / 0.9412 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.2161, allocations: 4 kB / 0.9412 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.521e-05/0.2161, allocations: 12.12 kB / 0.9412 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.2161, allocations: 8 kB / 0.9412 GB, free: 14.87 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.656e-05/0.2162, allocations: 217.6 kB / 0.9414 GB, free: 14.64 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.2163, allocations: 7.906 kB / 0.9414 GB, free: 14.64 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.239e-05/0.2163, allocations: 24.97 kB / 0.9414 GB, free: 14.61 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2163, allocations: 0 / 0.9414 GB, free: 14.61 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2163, allocations: 0 / 0.9414 GB, free: 14.61 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2163, allocations: 3.938 kB / 0.9414 GB, free: 14.61 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/0.2166, allocations: 473.1 kB / 0.9419 GB, free: 14.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2166, allocations: 4.062 kB / 0.9419 GB, free: 14.07 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.032e-05/0.2167, allocations: 12 kB / 0.9419 GB, free: 14.06 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2167, allocations: 3.938 kB / 0.9419 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.2167, allocations: 7.984 kB / 0.9419 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2167, allocations: 0 / 0.9419 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2167, allocations: 0 / 0.9419 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.653e-05/0.2168, allocations: 111.5 kB / 0.942 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-05/0.2168, allocations: 100.8 kB / 0.9421 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.2169, allocations: 4 kB / 0.9421 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.483e-05/0.2169, allocations: 3.938 kB / 0.9421 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/0.2169, allocations: 4 kB / 0.9421 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.2169, allocations: 0 / 0.9421 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.653e-05/0.217, allocations: 130 kB / 0.9423 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/0.217, allocations: 0 / 0.9423 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000297/0.2173, allocations: 63.78 kB / 0.9423 GB, free: 13.59 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.47e-05/0.2174, allocations: 103.2 kB / 0.9424 GB, free: 13.48 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001648/0.2176, allocations: 108.8 kB / 0.9425 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.2176, allocations: 0 / 0.9425 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.29e-05/0.2176, allocations: 20.12 kB / 0.9425 GB, free: 13.36 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.2179, allocations: 23.92 kB / 0.9426 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00041/0.2183, allocations: 333 kB / 0.9429 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.2184, allocations: 0.7202 MB / 0.9436 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.296e-05/0.2185, allocations: 32.61 kB / 0.9436 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.2186, allocations: 11.44 kB / 0.9436 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of SimCode: time 2.2e-07/0.2186, allocations: 0 / 0.9436 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of Templates: time 0.00296/0.2215, allocations: 0.8267 MB / 0.9444 GB, free: 11.37 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)