Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001321/0.001321, allocations: 113.3 kB / 18.94 MB, free: 2.934 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.001466/0.001466, allocations: 212.8 kB / 22.25 MB, free: 5.082 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.38/1.38, allocations: 230.6 MB / 256 MB, free: 8.016 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.00245/0.00245, allocations: 296.5 kB / 312.7 MB, free: 2.793 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.194/1.194, allocations: 180.6 MB / 0.5369 GB, free: 13.09 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.TestImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",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.002902/0.002902, allocations: 105.8 kB / 0.7396 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1646, allocations: 95.38 MB / 0.8327 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007321/0.1719, allocations: 5.009 MB / 0.8376 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004703/0.1766, allocations: 2.565 MB / 0.8401 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005022/0.1771, allocations: 35.62 kB / 0.8402 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.1784, allocations: 413.8 kB / 0.8406 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.1796, allocations: 473.7 kB / 0.841 GB, free: 128 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.1806, allocations: 377.5 kB / 0.8414 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001385/0.182, allocations: 0.9139 MB / 0.8423 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006081/0.1826, allocations: 322.6 kB / 0.8426 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006771/0.1833, allocations: 358.7 kB / 0.8429 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006807/0.184, allocations: 370.4 kB / 0.8433 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.1841, allocations: 40 kB / 0.8433 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007993/0.1849, allocations: 411.1 kB / 0.8437 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002226/0.1851, allocations: 187.3 kB / 0.8439 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003636/0.1855, allocations: 322.2 kB / 0.8442 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.1866, allocations: 0.8754 MB / 0.845 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1866, allocations: 7.938 kB / 0.845 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1866, allocations: 0 / 0.845 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.203e-05/0.1866, allocations: 0 / 0.845 GB, free: 11.97 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001635/0.1883, allocations: 0.8819 MB / 0.8459 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1883, allocations: 9.344 kB / 0.8459 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001152/0.1884, allocations: 94.69 kB / 0.846 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.1896, allocations: 208.2 kB / 0.8462 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008453/0.1905, allocations: 484.7 kB / 0.8467 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.1905, allocations: 29.38 kB / 0.8467 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-05/0.1906, allocations: 44.36 kB / 0.8467 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.1917, allocations: 0.8483 MB / 0.8476 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/0.1918, allocations: 11.94 kB / 0.8476 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.053e-05/0.1918, allocations: 23.98 kB / 0.8476 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.449e-05/0.1919, allocations: 60.95 kB / 0.8477 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000885/0.1928, allocations: 0.5734 MB / 0.8482 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004717/0.1975, allocations: 5.578 MB / 0.8537 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006234/0.1981, allocations: 426.3 kB / 0.8541 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.1984, allocations: 208.7 kB / 0.8543 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.1984, allocations: 4 kB / 0.8543 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.1985, allocations: 39.03 kB / 0.8543 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 2.014e-06/0.1985, allocations: 3.938 kB / 0.8543 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002353/0.2008, allocations: 1.134 MB / 0.8554 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.2009, allocations: 55.69 kB / 0.8555 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005277/0.2014, allocations: 0.4911 MB / 0.856 GB, free: 160 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.2014, allocations: 37.7 kB / 0.856 GB, free: 116 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.2017, allocations: 363.8 kB / 0.8563 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.2018, allocations: 123 kB / 0.8565 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.202, allocations: 110.2 kB / 0.8566 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.2021, allocations: 366.8 kB / 0.8569 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002933/0.2024, allocations: 193.2 kB / 0.8571 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000469/0.2029, allocations: 447.3 kB / 0.8575 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008451/0.2037, allocations: 0.6913 MB / 0.8582 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2037, allocations: 3.938 kB / 0.8582 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00129/0.205, allocations: 0.8099 MB / 0.859 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.205, allocations: 12 kB / 0.859 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.2051, allocations: 8 kB / 0.859 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004763/0.2055, allocations: 156.5 kB / 0.8592 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004329/0.206, allocations: 131.7 kB / 0.8593 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003416/0.2094, allocations: 4.034 MB / 0.8632 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003538/0.2097, allocations: 35.97 kB / 0.8633 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.076e-05/0.2098, allocations: 24 kB / 0.8633 GB, free: 8.016 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000267/0.21, allocations: 233 kB / 0.8635 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.722e-05/0.2101, allocations: 59.62 kB / 0.8636 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.2112, allocations: 0.5929 MB / 0.8641 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.2112, allocations: 4 kB / 0.8641 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2112, allocations: 4 kB / 0.8641 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.2112, allocations: 4 kB / 0.8642 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/0.213, allocations: 1.226 MB / 0.8653 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.213, allocations: 4 kB / 0.8654 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.2133, allocations: 55.89 kB / 0.8654 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003838/0.2137, allocations: 136.1 kB / 0.8655 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.2137, allocations: 16.09 kB / 0.8656 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003261/0.217, allocations: 4.023 MB / 0.8695 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.217, allocations: 4 kB / 0.8695 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.218, allocations: 0.7097 MB / 0.8702 GB, free: 440 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.2182, allocations: 91.53 kB / 0.8703 GB, free: 348 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.505e-05/0.2183, allocations: 15.98 kB / 0.8703 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.2185, allocations: 27.97 kB / 0.8703 GB, free: 304 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.706e-05/0.2186, allocations: 35.83 kB / 0.8703 GB, free: 268 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.2186, allocations: 8 kB / 0.8703 GB, free: 260 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003758/0.219, allocations: 334.8 kB / 0.8707 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.219, allocations: 0 / 0.8707 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006244/0.2196, allocations: 143.9 kB / 0.8708 GB, free: 15.79 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001311/0.2209, allocations: 1.257 MB / 0.872 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001352/0.2223, allocations: 0.8701 MB / 0.8729 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2223, allocations: 0 / 0.8729 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007666/0.223, allocations: 0.569 MB / 0.8734 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009305/0.224, allocations: 208.8 kB / 0.8736 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006543/0.2305, allocations: 5.119 MB / 0.8786 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/0.231, allocations: 0.9019 MB / 0.8795 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003277/0.2314, allocations: 121.3 kB / 0.8796 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.2316, allocations: 191.4 kB / 0.8798 GB, free: 6 MB / 0.6231 GB Notification: Performance of SimCode: time 5.1e-07/0.2316, allocations: 4 kB / 0.8798 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05118/0.2828, allocations: 13.24 MB / 0.8927 GB, free: 9.035 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.63, allocations: 5.609 kB / 0.8927 GB, free: 9.035 MB / 0.6387 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.596676307963207] Failed to read output from testmodel.py, exit status != 0: 11.73668960784562 11.751529954 11.561949729 Calling exit ...