Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001747/0.001747, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 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.001743/0.001743, allocations: 217.5 kB / 23.04 MB, free: 5.074 MB / 14.72 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] 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.002552/0.002552, allocations: 290 kB / 313.5 MB, free: 2.805 MB / 238.1 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 1.245/1.245, allocations: 180.6 MB / 0.5377 GB, free: 12.95 MB / 382.1 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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002934/0.002934, allocations: 111.3 kB / 0.7404 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1672, allocations: 95.38 MB / 0.8335 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.00531/0.1726, allocations: 3.393 MB / 0.8368 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003653/0.1762, allocations: 2.12 MB / 0.8389 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.1764, allocations: 11.88 kB / 0.8389 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009697/0.1773, allocations: 298.8 kB / 0.8392 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005713/0.1779, allocations: 238.9 kB / 0.8394 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007409/0.1787, allocations: 297 kB / 0.8397 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005111/0.1792, allocations: 406.7 kB / 0.8401 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003462/0.1795, allocations: 172.2 kB / 0.8402 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002852/0.1798, allocations: 167.5 kB / 0.8404 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000395/0.1802, allocations: 219.2 kB / 0.8406 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.292e-05/0.1802, allocations: 24 kB / 0.8406 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004922/0.1807, allocations: 271.5 kB / 0.8409 GB, free: 1 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.1809, allocations: 123.7 kB / 0.841 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.181, allocations: 143.3 kB / 0.8411 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006685/0.1817, allocations: 494.2 kB / 0.8416 GB, free: 260 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1817, allocations: 0 / 0.8416 GB, free: 260 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.824e-06/0.1817, allocations: 0 / 0.8416 GB, free: 260 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.1817, allocations: 0 / 0.8416 GB, free: 260 kB / 0.5762 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.001167/0.1829, allocations: 0.5323 MB / 0.8421 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.1829, allocations: 9.344 kB / 0.8421 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.921e-05/0.183, allocations: 8.688 kB / 0.8422 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.202e-05/0.183, allocations: 70.64 kB / 0.8422 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009975/0.184, allocations: 124.6 kB / 0.8423 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.1844, allocations: 215.5 kB / 0.8425 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.1844, allocations: 12.88 kB / 0.8426 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.1846, allocations: 44.19 kB / 0.8426 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007938/0.1854, allocations: 457.4 kB / 0.843 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.1854, allocations: 4 kB / 0.843 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.13e-05/0.1854, allocations: 8 kB / 0.8431 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001479/0.1856, allocations: 40.47 kB / 0.8431 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006725/0.1862, allocations: 365.7 kB / 0.8434 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002794/0.189, allocations: 2.162 MB / 0.8455 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004796/0.1895, allocations: 242.4 kB / 0.8458 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/0.1898, allocations: 144.8 kB / 0.8459 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.1898, allocations: 4 kB / 0.8459 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.1898, allocations: 34.88 kB / 0.846 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=22): time 1.804e-06/0.1898, allocations: 7.938 kB / 0.846 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001915/0.1917, allocations: 0.91 MB / 0.8469 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.1918, allocations: 55.41 kB / 0.8469 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/0.1921, allocations: 252.9 kB / 0.8471 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.1921, allocations: 37.7 kB / 0.8472 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.1923, allocations: 188.3 kB / 0.8474 GB, free: 10 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.954e-05/0.1924, allocations: 91.27 kB / 0.8474 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.1925, allocations: 77.64 kB / 0.8475 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1927, allocations: 338.8 kB / 0.8478 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.193, allocations: 159.9 kB / 0.848 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/0.1933, allocations: 241.6 kB / 0.8482 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006202/0.194, allocations: 414.7 kB / 0.8486 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.194, allocations: 4 kB / 0.8486 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001265/0.1952, allocations: 0.5889 MB / 0.8492 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.1953, allocations: 8 kB / 0.8492 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1953, allocations: 4 kB / 0.8492 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007087/0.196, allocations: 180.7 kB / 0.8494 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.1963, allocations: 67.89 kB / 0.8495 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00315/0.1995, allocations: 2.396 MB / 0.8518 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004212/0.1999, allocations: 23.97 kB / 0.8518 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.1999, allocations: 12 kB / 0.8518 GB, free: 5.219 MB / 0.5919 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.0002116/0.2001, allocations: 170.3 kB / 0.852 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.626e-05/0.2002, allocations: 23.86 kB / 0.852 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006022/0.2008, allocations: 358 kB / 0.8524 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.2008, allocations: 7.938 kB / 0.8524 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.2008, allocations: 0 / 0.8524 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2008, allocations: 0 / 0.8524 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.202, allocations: 0.798 MB / 0.8531 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.202, allocations: 0 / 0.8531 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004186/0.2024, allocations: 71.94 kB / 0.8532 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.2024, allocations: 4 kB / 0.8532 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.2024, allocations: 16.05 kB / 0.8532 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.2025, allocations: 0 / 0.8532 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2025, allocations: 0 / 0.8532 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008367/0.2033, allocations: 0.6132 MB / 0.8538 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.2034, allocations: 47.83 kB / 0.8539 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.19e-05/0.2035, allocations: 11.98 kB / 0.8539 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.2037, allocations: 20.08 kB / 0.8539 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.2038, allocations: 19.89 kB / 0.8539 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.2038, allocations: 12 kB / 0.8539 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002468/0.204, allocations: 188.5 kB / 0.8541 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.204, allocations: 0 / 0.8541 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004523/0.2045, allocations: 87.94 kB / 0.8542 GB, free: 2.715 MB / 0.5919 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.001176/0.2057, allocations: 1.159 MB / 0.8553 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.2067, allocations: 0.5259 MB / 0.8558 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2067, allocations: 0 / 0.8558 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002253/0.2069, allocations: 146.8 kB / 0.856 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/0.2074, allocations: 46.16 kB / 0.856 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005727/0.2131, allocations: 3.695 MB / 0.8596 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.2136, allocations: 0.791 MB / 0.8604 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002449/0.2138, allocations: 78.91 kB / 0.8605 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.214, allocations: 87.39 kB / 0.8606 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of SimCode: time 6.51e-07/0.214, allocations: 0 / 0.8606 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03203/0.246, allocations: 7.308 MB / 0.8677 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.13, allocations: 8.047 kB / 0.8677 GB, free: 4.836 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.418400788039435] Failed to read output from testmodel.py, exit status != 0: 12.300025033997372 12.315880424 12.131048627 Calling exit ...