Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.001241/0.001241, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001192/0.001192, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.977/0.977, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002628/0.002628, allocations: 249.5 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7283/0.7283, allocations: 138.4 MB / 402.2 MB, free: 0.5703 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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: translateModel(BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 462.3 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.686e-05, allocations: 3.188 kB / 462.3 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003805/0.003832, allocations: 2.135 MB / 464.4 MB, free: 15.56 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.005047, allocations: 0.5246 MB / 465 MB, free: 15.22 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.00517, allocations: 8.906 kB / 465 MB, free: 15.22 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.006208, allocations: 420.3 kB / 465.4 MB, free: 14.96 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.006505, allocations: 102.8 kB / 465.5 MB, free: 14.91 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.006855, allocations: 112 kB / 465.6 MB, free: 14.85 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.0072, allocations: 198.8 kB / 465.8 MB, free: 14.77 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002784/0.007478, allocations: 134.4 kB / 465.9 MB, free: 14.7 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.007674, allocations: 112.1 kB / 466 MB, free: 14.65 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.007899, allocations: 88.2 kB / 466.1 MB, free: 14.63 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.007923, allocations: 12.56 kB / 466.1 MB, free: 14.63 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.008069, allocations: 75.5 kB / 466.2 MB, free: 14.61 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.817e-05/0.008137, allocations: 62.92 kB / 466.3 MB, free: 14.57 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.546e-05/0.008193, allocations: 50.17 kB / 466.3 MB, free: 14.55 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.008452, allocations: 162 kB / 466.5 MB, free: 14.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.008455, allocations: 1.359 kB / 466.5 MB, free: 14.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.008457, allocations: 1.312 kB / 466.5 MB, free: 14.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.008462, allocations: 4 kB / 466.5 MB, free: 14.48 MB / 426.7 MB 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.0004397/0.008902, allocations: 336.1 kB / 466.8 MB, free: 14.15 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.008935, allocations: 9.906 kB / 466.8 MB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002967/0.009232, allocations: 68.81 kB / 466.9 MB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.009437, allocations: 158.1 kB / 467 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.009452, allocations: 9.188 kB / 467 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.009484, allocations: 16.97 kB / 467 MB, free: 13.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.009734, allocations: 174.5 kB / 467.2 MB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.009746, allocations: 192 / 467.2 MB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.009763, allocations: 8.375 kB / 467.2 MB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.568e-05/0.009799, allocations: 25.27 kB / 467.3 MB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004503/0.01025, allocations: 48.69 kB / 467.3 MB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000675/0.01092, allocations: 0.7062 MB / 468 MB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.195e-05/0.01098, allocations: 30.5 kB / 468 MB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.978e-05/0.011, allocations: 9.375 kB / 468 MB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.01101, allocations: 1.406 kB / 468 MB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.01103, allocations: 34.56 kB / 468.1 MB, free: 12.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.884e-06/0.01103, allocations: 0 / 468.1 MB, free: 12.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001137/0.01114, allocations: 48.28 kB / 468.1 MB, free: 12.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.01117, allocations: 55.39 kB / 468.2 MB, free: 12.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.475e-05/0.01125, allocations: 154.2 kB / 468.3 MB, free: 12.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.01126, allocations: 25.7 kB / 468.4 MB, free: 12.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.01132, allocations: 151.5 kB / 468.5 MB, free: 12.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.388e-06/0.01133, allocations: 13.53 kB / 468.5 MB, free: 12.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.01137, allocations: 33.69 kB / 468.6 MB, free: 12.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.482e-05/0.01146, allocations: 322.8 kB / 468.9 MB, free: 11.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.025e-05/0.01148, allocations: 16.84 kB / 468.9 MB, free: 11.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.901e-05/0.01153, allocations: 83.27 kB / 469 MB, free: 11.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.776e-05/0.01161, allocations: 98.47 kB / 469.1 MB, free: 11.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.01162, allocations: 5.219 kB / 469.1 MB, free: 11.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001023/0.01172, allocations: 95.75 kB / 469.2 MB, free: 11.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.01173, allocations: 8 kB / 469.2 MB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.01174, allocations: 4 kB / 469.2 MB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.01176, allocations: 9.109 kB / 469.2 MB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.725e-05/0.01183, allocations: 20 kB / 469.2 MB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.01184, allocations: 4 kB / 469.2 MB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.197e-05/0.01188, allocations: 13.39 kB / 469.2 MB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.01189, allocations: 15.98 kB / 469.2 MB, free: 11.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.946e-05/0.01194, allocations: 101 kB / 469.3 MB, free: 11.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.122e-05/0.01198, allocations: 73.44 kB / 469.4 MB, free: 11.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.836e-05/0.01205, allocations: 106.2 kB / 469.5 MB, free: 11.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.62e-07/0.01205, allocations: 0 / 469.5 MB, free: 11.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 8.697e-05/0.01214, allocations: 98.97 kB / 469.6 MB, free: 11.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.633e-06/0.01214, allocations: 8.766 kB / 469.6 MB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.125e-06/0.01215, allocations: 4 kB / 469.6 MB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-06/0.01215, allocations: 5 kB / 469.6 MB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.491e-05/0.01219, allocations: 24.44 kB / 469.6 MB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.0122, allocations: 11.97 kB / 469.7 MB, free: 11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.431e-05/0.01223, allocations: 19.73 kB / 469.7 MB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.01224, allocations: 4 kB / 469.7 MB, free: 10.98 MB / 426.7 MB 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 9.015e-05/0.01233, allocations: 192.1 kB / 469.9 MB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.01234, allocations: 4 kB / 469.9 MB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.045e-05/0.01237, allocations: 13.73 kB / 469.9 MB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01238, allocations: 4 kB / 469.9 MB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.01238, allocations: 0.5312 kB / 469.9 MB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01238, allocations: 0 / 469.9 MB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.01271, allocations: 435.2 kB / 470.3 MB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01271, allocations: 0 / 470.3 MB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.038e-05/0.01273, allocations: 8.5 kB / 470.3 MB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01273, allocations: 0.7188 kB / 470.3 MB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-06/0.01274, allocations: 0 / 470.3 MB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.01274, allocations: 6 kB / 470.3 MB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.01274, allocations: 3.938 kB / 470.3 MB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.389e-05/0.01283, allocations: 96.11 kB / 470.4 MB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/0.01285, allocations: 7.953 kB / 470.4 MB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.01286, allocations: 8 kB / 470.4 MB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.838e-05/0.01288, allocations: 2.5 kB / 470.4 MB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/0.0129, allocations: 11.92 kB / 470.5 MB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.0129, allocations: 0 / 470.5 MB, free: 10.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.893e-05/0.01293, allocations: 29.42 kB / 470.5 MB, free: 10.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01293, allocations: 0 / 470.5 MB, free: 10.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002188/0.01315, allocations: 60.88 kB / 470.5 MB, free: 10.05 MB / 426.7 MB 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 0.0001394/0.01329, allocations: 77.17 kB / 470.6 MB, free: 9.961 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001581/0.01345, allocations: 93.02 kB / 470.7 MB, free: 9.867 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.01345, allocations: 3.938 kB / 470.7 MB, free: 9.863 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.529e-05/0.01347, allocations: 21.69 kB / 470.7 MB, free: 9.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.01365, allocations: 18.39 kB / 470.8 MB, free: 9.824 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005187/0.01417, allocations: 277.9 kB / 471 MB, free: 9.516 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.865e-05/0.01423, allocations: 80.45 kB / 471.1 MB, free: 9.418 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.304e-05/0.01428, allocations: 13.94 kB / 471.1 MB, free: 9.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.357e-05/0.01435, allocations: 63.36 kB / 471.2 MB, free: 9.348 MB / 426.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01435, allocations: 0 / 471.2 MB, free: 9.348 MB / 426.7 MB Notification: Performance of Templates: time 0.002831/0.01718, allocations: 0.8417 MB / 472 MB, free: 8.594 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.563880953937769]