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.0008081/0.0008081, allocations: 80.55 kB / 19.96 MB, free: 4.602 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.00141/0.00141, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.874/0.874, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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.745/1.745, allocations: 389.5 MB / 0.6343 GB, free: 12.6 MB / 0.6042 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 1.303e-06/1.303e-06, allocations: 0 / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.23e-05/1.361e-05, allocations: 5.656 kB / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003103/0.003117, allocations: 3.065 MB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.004728, allocations: 1.675 MB / 1.005 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.006e-05/0.004818, allocations: 4 kB / 1.005 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0006124/0.00543, allocations: 337.8 kB / 1.006 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002617/0.005692, allocations: 218.8 kB / 1.006 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.005933, allocations: 195.2 kB / 1.006 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.006169, allocations: 318.9 kB / 1.006 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/0.006407, allocations: 169 kB / 1.006 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.006606, allocations: 187.5 kB / 1.007 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.006828, allocations: 155.6 kB / 1.007 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.006855, allocations: 20 kB / 1.007 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.007056, allocations: 231.4 kB / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.602e-05/0.007132, allocations: 99.72 kB / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.811e-05/0.0072, allocations: 91.8 kB / 1.007 GB, free: 6.777 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.007541, allocations: 442.7 kB / 1.008 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.007542, allocations: 0 / 1.008 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.11e-07/0.007543, allocations: 0 / 1.008 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.007547, allocations: 0 / 1.008 GB, free: 6.344 MB / 0.9636 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.0005912/0.008138, allocations: 493.3 kB / 1.008 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.008172, allocations: 9.344 kB / 1.008 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.708e-05/0.008219, allocations: 62.72 kB / 1.008 GB, free: 5.754 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004226/0.008642, allocations: 96.69 kB / 1.008 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.008857, allocations: 193.4 kB / 1.008 GB, free: 5.445 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.008873, allocations: 20.88 kB / 1.008 GB, free: 5.426 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.768e-05/0.00894, allocations: 24.52 kB / 1.008 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.009323, allocations: 428.9 kB / 1.009 GB, free: 4.949 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.009336, allocations: 8.172 kB / 1.009 GB, free: 4.941 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.009359, allocations: 15.92 kB / 1.009 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.008e-05/0.009419, allocations: 24.48 kB / 1.009 GB, free: 4.902 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003102/0.009729, allocations: 305.8 kB / 1.009 GB, free: 4.602 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009623/0.01069, allocations: 1.081 MB / 1.01 GB, free: 3.461 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.01095, allocations: 212.8 kB / 1.011 GB, free: 3.246 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.01105, allocations: 104.8 kB / 1.011 GB, free: 3.141 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.441e-05/0.01113, allocations: 15.92 kB / 1.011 GB, free: 3.125 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.01115, allocations: 34.56 kB / 1.011 GB, free: 3.082 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.01115, allocations: 0 / 1.011 GB, free: 3.082 MB / 0.9636 GB Notification: Performance of matching and sorting (n=19): time 0.0008221/0.01197, allocations: 0.7214 MB / 1.011 GB, free: 2.328 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.01199, allocations: 55.41 kB / 1.011 GB, free: 2.262 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.01212, allocations: 190.7 kB / 1.012 GB, free: 2.066 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.01213, allocations: 29.7 kB / 1.012 GB, free: 2.031 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.561e-05/0.0122, allocations: 172.2 kB / 1.012 GB, free: 1.859 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.01223, allocations: 75.27 kB / 1.012 GB, free: 1.785 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.01229, allocations: 61.62 kB / 1.012 GB, free: 1.719 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.104e-05/0.01238, allocations: 326.8 kB / 1.012 GB, free: 1.391 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.01249, allocations: 111.9 kB / 1.012 GB, free: 1.281 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.01268, allocations: 175.2 kB / 1.013 GB, free: 1.09 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.01293, allocations: 300.4 kB / 1.013 GB, free: 0.7773 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01293, allocations: 3.938 kB / 1.013 GB, free: 0.7734 MB / 0.9636 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004728/0.01341, allocations: 410.7 kB / 1.013 GB, free: 372 kB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.01342, allocations: 6.188 kB / 1.013 GB, free: 368 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01343, allocations: 11.88 kB / 1.013 GB, free: 356 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002329/0.01366, allocations: 96.95 kB / 1.013 GB, free: 256 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.01379, allocations: 51.95 kB / 1.013 GB, free: 204 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.01496, allocations: 1.764 MB / 1.015 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.01506, allocations: 15.98 kB / 1.015 GB, free: 14.31 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.01508, allocations: 11.98 kB / 1.015 GB, free: 14.3 MB / 0.9792 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 9.418e-05/0.01517, allocations: 152 kB / 1.015 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.0152, allocations: 19.91 kB / 1.015 GB, free: 14.12 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.0155, allocations: 303.3 kB / 1.016 GB, free: 13.81 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.0155, allocations: 0 / 1.016 GB, free: 13.81 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.0155, allocations: 3.984 kB / 1.016 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.01551, allocations: 0 / 1.016 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005541/0.01606, allocations: 0.6551 MB / 1.016 GB, free: 13.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01606, allocations: 0 / 1.016 GB, free: 13.09 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.01622, allocations: 60.08 kB / 1.016 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.01622, allocations: 3.984 kB / 1.016 GB, free: 13.03 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.01624, allocations: 16.06 kB / 1.016 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.01624, allocations: 0 / 1.016 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.01624, allocations: 3.938 kB / 1.016 GB, free: 13.01 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003872/0.01663, allocations: 0.511 MB / 1.017 GB, free: 12.48 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-05/0.01668, allocations: 47.84 kB / 1.017 GB, free: 12.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.0167, allocations: 4 kB / 1.017 GB, free: 12.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.125e-05/0.01679, allocations: 23.91 kB / 1.017 GB, free: 12.41 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.953e-05/0.01681, allocations: 7.984 kB / 1.017 GB, free: 12.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.01682, allocations: 8 kB / 1.017 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 8.205e-05/0.0169, allocations: 144.1 kB / 1.017 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9e-08/0.0169, allocations: 4.062 kB / 1.017 GB, free: 12.24 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002224/0.01713, allocations: 68 kB / 1.017 GB, free: 12.18 MB / 0.9792 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.0005825/0.01771, allocations: 1.055 MB / 1.018 GB, free: 11.09 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005055/0.01821, allocations: 407.3 kB / 1.018 GB, free: 10.68 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01822, allocations: 4.125 kB / 1.018 GB, free: 10.68 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.01832, allocations: 110.8 kB / 1.019 GB, free: 10.57 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.01857, allocations: 38.84 kB / 1.019 GB, free: 10.54 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.02113, allocations: 2.839 MB / 1.021 GB, free: 7.562 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.02123, allocations: 169 kB / 1.022 GB, free: 7.379 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 9.876e-05/0.02133, allocations: 53.91 kB / 1.022 GB, free: 7.328 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.026e-05/0.02141, allocations: 68.48 kB / 1.022 GB, free: 7.262 MB / 0.9792 GB Notification: Performance of SimCode: time 5.91e-07/0.02141, allocations: 0 / 1.022 GB, free: 7.262 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07674/0.09815, allocations: 5.859 MB / 1.027 GB, free: 1.57 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.017/7.115, allocations: 7.859 kB / 1.027 GB, free: 1.566 MB / 0.9792 GB " [Timeout remaining time 293] (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: 11.31249186489731]