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.0009833/0.0009833, allocations: 80.52 kB / 19.95 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.001118/0.001118, 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.9214/0.9214, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.814/1.814, allocations: 389.6 MB / 0.6343 GB, free: 12.59 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.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 1.142e-06/1.142e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.435e-05, allocations: 2.281 kB / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003384/0.003398, allocations: 3.212 MB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002439/0.005838, allocations: 1.975 MB / 1.006 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.006021, allocations: 15.88 kB / 1.006 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0006486/0.00667, allocations: 298.7 kB / 1.006 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004362/0.007106, allocations: 234.6 kB / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.007618, allocations: 295.1 kB / 1.007 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003844/0.008002, allocations: 418.6 kB / 1.007 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002848/0.008287, allocations: 170.8 kB / 1.007 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000265/0.008552, allocations: 227.4 kB / 1.007 GB, free: 6.707 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002659/0.008818, allocations: 187.5 kB / 1.007 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.008848, allocations: 24 kB / 1.008 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000305/0.009153, allocations: 247.4 kB / 1.008 GB, free: 6.258 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.009263, allocations: 131.6 kB / 1.008 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002371/0.0095, allocations: 99.8 kB / 1.008 GB, free: 6.031 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004646/0.009964, allocations: 0.5101 MB / 1.008 GB, free: 5.52 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.009967, allocations: 0 / 1.008 GB, free: 5.52 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.142e-06/0.009968, allocations: 0 / 1.008 GB, free: 5.52 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.009973, allocations: 0 / 1.008 GB, free: 5.52 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0007254/0.0107, allocations: 0.5284 MB / 1.009 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.01073, allocations: 9.344 kB / 1.009 GB, free: 4.953 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.327e-05/0.01079, allocations: 66.7 kB / 1.009 GB, free: 4.879 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005808/0.01137, allocations: 120.5 kB / 1.009 GB, free: 4.762 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.01164, allocations: 226 kB / 1.009 GB, free: 4.512 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.01166, allocations: 16.88 kB / 1.009 GB, free: 4.496 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.79e-05/0.01174, allocations: 36.73 kB / 1.009 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005077/0.01225, allocations: 0.5263 MB / 1.01 GB, free: 3.879 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.01226, allocations: 3.938 kB / 1.01 GB, free: 3.875 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.01229, allocations: 11.94 kB / 1.01 GB, free: 3.863 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.863e-05/0.01237, allocations: 40.47 kB / 1.01 GB, free: 3.824 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004035/0.01277, allocations: 365.7 kB / 1.01 GB, free: 3.469 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.0144, allocations: 1.636 MB / 1.012 GB, free: 1.754 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.01474, allocations: 242.4 kB / 1.012 GB, free: 1.508 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.0149, allocations: 144.8 kB / 1.012 GB, free: 1.363 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.01492, allocations: 4 kB / 1.012 GB, free: 1.359 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.01495, allocations: 38.5 kB / 1.012 GB, free: 1.312 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=22): time 2.284e-06/0.01496, allocations: 0 / 1.012 GB, free: 1.312 MB / 0.9636 GB Notification: Performance of matching and sorting (n=23): time 0.001445/0.0164, allocations: 0.9171 MB / 1.013 GB, free: 372 kB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.01644, allocations: 51.41 kB / 1.013 GB, free: 308 kB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.01669, allocations: 261.6 kB / 1.014 GB, free: 36 kB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.01671, allocations: 29.7 kB / 1.014 GB, free: 0 / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.01682, allocations: 192.3 kB / 1.014 GB, free: 15.81 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.586e-05/0.01688, allocations: 95.2 kB / 1.014 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.109e-05/0.01697, allocations: 73.64 kB / 1.014 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.392e-05/0.01706, allocations: 338.8 kB / 1.014 GB, free: 15.3 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.01726, allocations: 155.9 kB / 1.014 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.01746, allocations: 245.6 kB / 1.015 GB, free: 14.87 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006097/0.01807, allocations: 410.8 kB / 1.015 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01808, allocations: 0 / 1.015 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007405/0.01882, allocations: 0.5984 MB / 1.016 GB, free: 13.83 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.01883, allocations: 8 kB / 1.016 GB, free: 13.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.01884, allocations: 0 / 1.016 GB, free: 13.82 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003996/0.01924, allocations: 192.7 kB / 1.016 GB, free: 13.63 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.01941, allocations: 63.89 kB / 1.016 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/0.02124, allocations: 2.358 MB / 1.018 GB, free: 11.09 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.02143, allocations: 27.97 kB / 1.018 GB, free: 11.07 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.02144, allocations: 8.062 kB / 1.018 GB, free: 11.06 MB / 0.9792 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.0001196/0.02156, allocations: 173.7 kB / 1.018 GB, free: 10.88 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.0216, allocations: 27.8 kB / 1.018 GB, free: 10.85 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003447/0.02195, allocations: 361.8 kB / 1.019 GB, free: 10.49 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.02195, allocations: 0 / 1.019 GB, free: 10.49 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.02195, allocations: 0 / 1.019 GB, free: 10.49 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.02195, allocations: 0 / 1.019 GB, free: 10.49 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006887/0.02264, allocations: 0.7541 MB / 1.019 GB, free: 9.684 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.02264, allocations: 0 / 1.019 GB, free: 9.684 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.02285, allocations: 83.94 kB / 1.02 GB, free: 9.602 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.02285, allocations: 3.938 kB / 1.02 GB, free: 9.598 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.02287, allocations: 8 kB / 1.02 GB, free: 9.59 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.02287, allocations: 0 / 1.02 GB, free: 9.59 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.02287, allocations: 8 kB / 1.02 GB, free: 9.582 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004984/0.02337, allocations: 0.6117 MB / 1.02 GB, free: 8.949 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-05/0.02345, allocations: 55.86 kB / 1.02 GB, free: 8.895 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.02347, allocations: 8 kB / 1.02 GB, free: 8.887 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.02359, allocations: 15.98 kB / 1.02 GB, free: 8.871 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.02362, allocations: 15.97 kB / 1.02 GB, free: 8.855 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.02363, allocations: 12 kB / 1.02 GB, free: 8.844 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001373/0.02376, allocations: 185.2 kB / 1.02 GB, free: 8.66 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.02376, allocations: 4 kB / 1.02 GB, free: 8.656 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000283/0.02405, allocations: 87.94 kB / 1.021 GB, free: 8.57 MB / 0.9792 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.0007156/0.02476, allocations: 1.162 MB / 1.022 GB, free: 7.379 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006704/0.02543, allocations: 0.51 MB / 1.022 GB, free: 6.855 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.02544, allocations: 4 kB / 1.022 GB, free: 6.852 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.02556, allocations: 135.8 kB / 1.022 GB, free: 6.719 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.02586, allocations: 60.78 kB / 1.022 GB, free: 6.668 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/0.02911, allocations: 3.604 MB / 1.026 GB, free: 2.902 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.02923, allocations: 186.1 kB / 1.026 GB, free: 2.699 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001397/0.02937, allocations: 82.89 kB / 1.026 GB, free: 2.613 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.02947, allocations: 88.47 kB / 1.026 GB, free: 2.527 MB / 0.9792 GB Notification: Performance of SimCode: time 6.62e-07/0.02947, allocations: 4 kB / 1.026 GB, free: 2.523 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09818/0.1276, allocations: 7.783 MB / 1.034 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.208/7.335, allocations: 19.17 kB / 1.034 GB, free: 10.93 MB / 0.9948 GB " [Timeout remaining time 293] (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: 11.78514311555773]