Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.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.0008284/0.0008284, allocations: 104.3 kB / 19.72 MB, free: 428 kB / 13.93 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.001361/0.001361, allocations: 219.7 kB / 23.02 MB, free: 2.965 MB / 13.93 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 1.003/1.003, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.92/1.92, allocations: 0.5045 GB / 0.8104 GB, free: 2.766 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 71.89 kB / 1.177 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6857/0.6869, allocations: 180 MB / 1.352 GB, free: 1.656 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003359/0.6903, allocations: 3.089 MB / 1.355 GB, free: 14.55 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001718/0.692, allocations: 1.687 MB / 1.357 GB, free: 12.86 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.6921, allocations: 4 kB / 1.357 GB, free: 12.86 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006297/0.6927, allocations: 343.7 kB / 1.357 GB, free: 12.52 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002838/0.693, allocations: 207.1 kB / 1.358 GB, free: 12.32 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.6933, allocations: 185 kB / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002605/0.6935, allocations: 319 kB / 1.358 GB, free: 11.82 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002727/0.6938, allocations: 179.6 kB / 1.358 GB, free: 11.65 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.694, allocations: 139.6 kB / 1.358 GB, free: 11.51 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.6942, allocations: 159.4 kB / 1.359 GB, free: 11.36 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.6942, allocations: 24 kB / 1.359 GB, free: 11.33 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002181/0.6944, allocations: 219.5 kB / 1.359 GB, free: 11.12 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 8.178e-05/0.6945, allocations: 107.7 kB / 1.359 GB, free: 11.01 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 7.332e-05/0.6946, allocations: 103.5 kB / 1.359 GB, free: 10.91 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.695, allocations: 422.5 kB / 1.359 GB, free: 10.5 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.695, allocations: 0 / 1.359 GB, free: 10.5 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.695, allocations: 0 / 1.359 GB, free: 10.5 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.695, allocations: 4 kB / 1.359 GB, free: 10.49 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.000648/0.6956, allocations: 493.3 kB / 1.36 GB, free: 9.977 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.6957, allocations: 12.92 kB / 1.36 GB, free: 9.965 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.913e-05/0.6957, allocations: 62.67 kB / 1.36 GB, free: 9.895 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00041/0.6961, allocations: 96.67 kB / 1.36 GB, free: 9.801 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.6964, allocations: 198.1 kB / 1.36 GB, free: 9.582 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.6964, allocations: 16.81 kB / 1.36 GB, free: 9.566 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.187e-05/0.6964, allocations: 28.55 kB / 1.36 GB, free: 9.539 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/0.6968, allocations: 431.9 kB / 1.361 GB, free: 9.086 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.6969, allocations: 3.984 kB / 1.361 GB, free: 9.082 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.6969, allocations: 8 kB / 1.361 GB, free: 9.074 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.383e-05/0.6969, allocations: 28.42 kB / 1.361 GB, free: 9.047 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003185/0.6973, allocations: 305.5 kB / 1.361 GB, free: 8.746 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.6983, allocations: 1.085 MB / 1.362 GB, free: 7.605 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.6986, allocations: 210.4 kB / 1.362 GB, free: 7.391 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.6987, allocations: 111.5 kB / 1.362 GB, free: 7.281 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-05/0.6988, allocations: 4 kB / 1.362 GB, free: 7.277 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.6988, allocations: 38.5 kB / 1.362 GB, free: 7.23 MB / 1.042 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.6988, allocations: 0 / 1.362 GB, free: 7.23 MB / 1.042 GB Notification: Performance of matching and sorting (n=19): time 0.0008604/0.6997, allocations: 0.7288 MB / 1.363 GB, free: 6.469 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.6997, allocations: 51.41 kB / 1.363 GB, free: 6.406 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.6998, allocations: 198.7 kB / 1.363 GB, free: 6.203 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.6999, allocations: 29.7 kB / 1.363 GB, free: 6.168 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 6.971e-05/0.6999, allocations: 164.2 kB / 1.364 GB, free: 6 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.7, allocations: 79.31 kB / 1.364 GB, free: 5.922 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.054e-05/0.7, allocations: 49.7 kB / 1.364 GB, free: 5.867 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.892e-05/0.7001, allocations: 330.8 kB / 1.364 GB, free: 5.535 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.7002, allocations: 115.9 kB / 1.364 GB, free: 5.422 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.7004, allocations: 165.9 kB / 1.364 GB, free: 5.238 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.7006, allocations: 303.9 kB / 1.365 GB, free: 4.922 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.7006, allocations: 0 / 1.365 GB, free: 4.922 MB / 1.042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004705/0.7011, allocations: 418.5 kB / 1.365 GB, free: 4.504 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.7011, allocations: 8 kB / 1.365 GB, free: 4.496 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.7011, allocations: 4.188 kB / 1.365 GB, free: 4.492 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002446/0.7013, allocations: 100.8 kB / 1.365 GB, free: 4.391 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.7015, allocations: 47.91 kB / 1.365 GB, free: 4.344 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.7027, allocations: 1.776 MB / 1.367 GB, free: 2.453 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.7028, allocations: 19.95 kB / 1.367 GB, free: 2.434 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.7028, allocations: 8 kB / 1.367 GB, free: 2.426 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.7029, allocations: 159.3 kB / 1.367 GB, free: 2.262 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.7029, allocations: 23.92 kB / 1.367 GB, free: 2.238 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003073/0.7032, allocations: 293 kB / 1.367 GB, free: 1.949 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.7032, allocations: 4 kB / 1.367 GB, free: 1.945 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.7032, allocations: 0 / 1.367 GB, free: 1.945 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.7032, allocations: 3.938 kB / 1.367 GB, free: 1.941 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005628/0.7038, allocations: 0.6572 MB / 1.368 GB, free: 1.23 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.7038, allocations: 4 kB / 1.368 GB, free: 1.227 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.704, allocations: 56.02 kB / 1.368 GB, free: 1.172 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.704, allocations: 7.938 kB / 1.368 GB, free: 1.164 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.704, allocations: 7.984 kB / 1.368 GB, free: 1.156 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.704, allocations: 4 kB / 1.368 GB, free: 1.152 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.704, allocations: 3.938 kB / 1.368 GB, free: 1.148 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003917/0.7044, allocations: 0.5106 MB / 1.369 GB, free: 0.6172 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.496e-05/0.7044, allocations: 43.84 kB / 1.369 GB, free: 0.5742 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.7045, allocations: 8.062 kB / 1.369 GB, free: 0.5664 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.284e-05/0.7045, allocations: 15.98 kB / 1.369 GB, free: 0.5508 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.521e-05/0.7046, allocations: 15.97 kB / 1.369 GB, free: 0.5352 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.7046, allocations: 8.062 kB / 1.369 GB, free: 0.5273 MB / 1.042 GB Notification: Performance of sorting global known variables: time 8.375e-05/0.7047, allocations: 148.1 kB / 1.369 GB, free: 388 kB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.7047, allocations: 0 / 1.369 GB, free: 388 kB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002202/0.7049, allocations: 64 kB / 1.369 GB, free: 324 kB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * 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.0006176/0.7055, allocations: 1.055 MB / 1.37 GB, free: 15.23 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0004815/0.706, allocations: 407.3 kB / 1.37 GB, free: 14.82 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.706, allocations: 0 / 1.37 GB, free: 14.82 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.7061, allocations: 115.8 kB / 1.37 GB, free: 14.7 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.7064, allocations: 38.22 kB / 1.37 GB, free: 14.67 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.7088, allocations: 2.905 MB / 1.373 GB, free: 11.63 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.7089, allocations: 165.4 kB / 1.373 GB, free: 11.45 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.709, allocations: 49.92 kB / 1.373 GB, free: 11.4 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.747e-05/0.7091, allocations: 67.41 kB / 1.374 GB, free: 11.33 MB / 1.057 GB Notification: Performance of SimCode: time 6.71e-07/0.7091, allocations: 0 / 1.374 GB, free: 11.33 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07942/0.7885, allocations: 5.714 MB / 1.379 GB, free: 5.789 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.362/8.151, allocations: 5.109 kB / 1.379 GB, free: 5.789 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu) > Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu) > Buildings_13_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.848586943000555]