Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.0007994/0.0007994, allocations: 104.3 kB / 19.72 MB, free: 424 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.001119/0.001119, allocations: 210.8 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 0.9532/0.9532, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.812/1.812, allocations: 0.5045 GB / 0.8104 GB, free: 2.758 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.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0008786/0.0008786, allocations: 71.89 kB / 1.177 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6709/0.6717, allocations: 180 MB / 1.352 GB, free: 1.703 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003332/0.6751, allocations: 3.236 MB / 1.356 GB, free: 14.45 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.002089/0.6772, allocations: 1.983 MB / 1.358 GB, free: 12.46 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.6773, allocations: 11.94 kB / 1.358 GB, free: 12.45 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006665/0.6779, allocations: 289.7 kB / 1.358 GB, free: 12.17 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003136/0.6783, allocations: 235 kB / 1.358 GB, free: 11.94 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.6786, allocations: 295.3 kB / 1.358 GB, free: 11.65 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0003094/0.6789, allocations: 410.7 kB / 1.359 GB, free: 11.25 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.6792, allocations: 162.3 kB / 1.359 GB, free: 11.09 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.6794, allocations: 175.4 kB / 1.359 GB, free: 10.92 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.6796, allocations: 207.3 kB / 1.359 GB, free: 10.71 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.6797, allocations: 24 kB / 1.359 GB, free: 10.69 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002434/0.6799, allocations: 239.5 kB / 1.36 GB, free: 10.46 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 9.034e-05/0.68, allocations: 123.7 kB / 1.36 GB, free: 10.34 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 8.26e-05/0.6801, allocations: 123.4 kB / 1.36 GB, free: 10.21 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003892/0.6805, allocations: 498.2 kB / 1.36 GB, free: 9.727 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6805, allocations: 0 / 1.36 GB, free: 9.727 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6805, allocations: 0 / 1.36 GB, free: 9.727 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.6805, allocations: 0 / 1.36 GB, free: 9.727 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0007096/0.6812, allocations: 0.5322 MB / 1.361 GB, free: 9.164 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.6812, allocations: 12.92 kB / 1.361 GB, free: 9.152 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.105e-05/0.6813, allocations: 62.72 kB / 1.361 GB, free: 9.082 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005573/0.6818, allocations: 116.6 kB / 1.361 GB, free: 8.969 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.6821, allocations: 231.6 kB / 1.361 GB, free: 8.715 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.6821, allocations: 20.86 kB / 1.361 GB, free: 8.695 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.694e-05/0.6822, allocations: 32.5 kB / 1.361 GB, free: 8.664 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004858/0.6827, allocations: 0.5181 MB / 1.362 GB, free: 8.09 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.6827, allocations: 0 / 1.362 GB, free: 8.09 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.6827, allocations: 15.98 kB / 1.362 GB, free: 8.074 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.098e-05/0.6828, allocations: 44.41 kB / 1.362 GB, free: 8.027 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000397/0.6832, allocations: 361.7 kB / 1.362 GB, free: 7.676 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.6846, allocations: 1.648 MB / 1.364 GB, free: 5.953 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.6849, allocations: 246.4 kB / 1.364 GB, free: 5.703 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.685, allocations: 144.8 kB / 1.364 GB, free: 5.559 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.6851, allocations: 4 kB / 1.364 GB, free: 5.555 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.6851, allocations: 30.56 kB / 1.364 GB, free: 5.516 MB / 1.042 GB Notification: Performance of pre-optimization done (n=22): time 1.392e-06/0.6851, allocations: 0 / 1.364 GB, free: 5.516 MB / 1.042 GB Notification: Performance of matching and sorting (n=23): time 0.001234/0.6863, allocations: 0.9131 MB / 1.365 GB, free: 4.57 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.6863, allocations: 55.41 kB / 1.365 GB, free: 4.504 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.6865, allocations: 260.8 kB / 1.365 GB, free: 4.238 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.6866, allocations: 29.7 kB / 1.365 GB, free: 4.203 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 8.164e-05/0.6866, allocations: 200.2 kB / 1.366 GB, free: 4.004 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.6867, allocations: 83.28 kB / 1.366 GB, free: 3.922 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.262e-05/0.6868, allocations: 77.67 kB / 1.366 GB, free: 3.84 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.808e-05/0.6868, allocations: 334.8 kB / 1.366 GB, free: 3.504 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.687, allocations: 163.9 kB / 1.366 GB, free: 3.344 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.6872, allocations: 245.5 kB / 1.366 GB, free: 3.066 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/0.6876, allocations: 402.9 kB / 1.367 GB, free: 2.641 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6876, allocations: 7.875 kB / 1.367 GB, free: 2.633 MB / 1.042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006869/0.6883, allocations: 0.6022 MB / 1.367 GB, free: 2.023 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.6883, allocations: 7.984 kB / 1.367 GB, free: 2.016 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.6883, allocations: 4 kB / 1.367 GB, free: 2.012 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003504/0.6886, allocations: 188.9 kB / 1.368 GB, free: 1.824 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.6888, allocations: 63.89 kB / 1.368 GB, free: 1.762 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.6905, allocations: 2.365 MB / 1.37 GB, free: 15.28 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.6907, allocations: 23.97 kB / 1.37 GB, free: 15.26 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.6907, allocations: 12 kB / 1.37 GB, free: 15.25 MB / 1.057 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 (32): * Single equations (assignments): 31 * 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,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.6908, allocations: 174.2 kB / 1.37 GB, free: 15.07 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.6908, allocations: 23.86 kB / 1.37 GB, free: 15.04 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003387/0.6912, allocations: 362.8 kB / 1.37 GB, free: 14.68 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.6912, allocations: 0 / 1.37 GB, free: 14.68 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.6912, allocations: 0 / 1.37 GB, free: 14.68 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.6912, allocations: 3.984 kB / 1.371 GB, free: 14.68 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000651/0.6918, allocations: 0.7585 MB / 1.371 GB, free: 13.86 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.6918, allocations: 3.938 kB / 1.371 GB, free: 13.86 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.692, allocations: 79.94 kB / 1.371 GB, free: 13.78 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.692, allocations: 0 / 1.371 GB, free: 13.78 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.6921, allocations: 8 kB / 1.371 GB, free: 13.77 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.6921, allocations: 0 / 1.371 GB, free: 13.77 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6921, allocations: 4 kB / 1.371 GB, free: 13.77 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005502/0.6926, allocations: 0.6104 MB / 1.372 GB, free: 13.14 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-05/0.6927, allocations: 55.83 kB / 1.372 GB, free: 13.08 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.6927, allocations: 8 kB / 1.372 GB, free: 13.07 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.6928, allocations: 19.91 kB / 1.372 GB, free: 13.05 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.6929, allocations: 15.92 kB / 1.372 GB, free: 13.04 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.6929, allocations: 15.98 kB / 1.372 GB, free: 13.02 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0001339/0.693, allocations: 180.5 kB / 1.372 GB, free: 12.85 MB / 1.057 GB Notification: Performance of sort global known variables: time 7e-08/0.693, allocations: 0 / 1.372 GB, free: 12.85 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0002645/0.6933, allocations: 95.98 kB / 1.372 GB, free: 12.76 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[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 (24): * Single equations (assignments): 24 * 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.000692/0.694, allocations: 1.15 MB / 1.373 GB, free: 11.57 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0006169/0.6946, allocations: 0.5184 MB / 1.374 GB, free: 11.04 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.6946, allocations: 0 / 1.374 GB, free: 11.04 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.6947, allocations: 137.5 kB / 1.374 GB, free: 10.91 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.695, allocations: 66.91 kB / 1.374 GB, free: 10.85 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.6982, allocations: 3.701 MB / 1.378 GB, free: 6.992 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.6984, allocations: 186.1 kB / 1.378 GB, free: 6.793 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001421/0.6985, allocations: 78.91 kB / 1.378 GB, free: 6.715 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.6986, allocations: 83.41 kB / 1.378 GB, free: 6.633 MB / 1.057 GB Notification: Performance of SimCode: time 7.41e-07/0.6986, allocations: 0 / 1.378 GB, free: 6.633 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07903/0.7776, allocations: 7.658 MB / 1.386 GB, free: 15.18 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.386/8.164, allocations: 6.875 kB / 1.386 GB, free: 15.17 MB / 1.073 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu) > Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_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_Loads_Examples_DynamicLoads.fmu) > Buildings_13_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.775156866759062]