Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.001359/0.001359, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001509/0.001509, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.424/1.424, allocations: 230.6 MB / 256 MB, free: 7.789 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.002605/0.002605, allocations: 292.7 kB / 312.7 MB, free: 2.582 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.197/1.197, allocations: 180.6 MB / 0.5369 GB, free: 14.58 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.VariableImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.002951/0.002951, allocations: 99.52 kB / 0.7395 GB, free: 28.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1695, allocations: 95.38 MB / 0.8326 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005655/0.1752, allocations: 3.627 MB / 0.8362 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003124/0.1783, allocations: 1.75 MB / 0.8379 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/0.1785, allocations: 27.75 kB / 0.8379 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008881/0.1794, allocations: 262.7 kB / 0.8382 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006362/0.18, allocations: 310.5 kB / 0.8385 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005424/0.1806, allocations: 252.3 kB / 0.8387 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000683/0.1813, allocations: 0.613 MB / 0.8393 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003895/0.1817, allocations: 230.8 kB / 0.8395 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003757/0.182, allocations: 251.1 kB / 0.8398 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003386/0.1824, allocations: 230.9 kB / 0.84 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.672e-05/0.1824, allocations: 28 kB / 0.84 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004076/0.1828, allocations: 239.4 kB / 0.8402 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.183, allocations: 127.6 kB / 0.8404 GB, free: 448 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.1832, allocations: 167.1 kB / 0.8405 GB, free: 280 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007215/0.1839, allocations: 0.6031 MB / 0.8411 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1839, allocations: 0 / 0.8411 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.532e-06/0.1839, allocations: 0 / 0.8411 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.1839, allocations: 0 / 0.8411 GB, free: 15.67 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001219/0.1851, allocations: 0.672 MB / 0.8418 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1852, allocations: 13.34 kB / 0.8418 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.449e-05/0.1852, allocations: 70.72 kB / 0.8418 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000857/0.1861, allocations: 140.5 kB / 0.842 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006225/0.1867, allocations: 341.3 kB / 0.8423 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.1868, allocations: 29 kB / 0.8423 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.116e-05/0.1868, allocations: 28.38 kB / 0.8424 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000913/0.1877, allocations: 0.6339 MB / 0.843 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.1878, allocations: 4 kB / 0.843 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/0.1878, allocations: 15.98 kB / 0.843 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.226e-05/0.1879, allocations: 44.62 kB / 0.843 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007299/0.1886, allocations: 406.1 kB / 0.8434 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002883/0.1915, allocations: 2.749 MB / 0.8461 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006874/0.1922, allocations: 314.5 kB / 0.8464 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.1925, allocations: 156.8 kB / 0.8466 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.1925, allocations: 3.938 kB / 0.8466 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.1925, allocations: 46.48 kB / 0.8466 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=26): time 2.214e-06/0.1925, allocations: 0 / 0.8466 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=27): time 0.002074/0.1946, allocations: 0.8336 MB / 0.8474 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.1946, allocations: 55.64 kB / 0.8475 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000378/0.195, allocations: 353.5 kB / 0.8478 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.195, allocations: 33.64 kB / 0.8478 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.1952, allocations: 256.1 kB / 0.8481 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.512e-05/0.1953, allocations: 95.16 kB / 0.8482 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.1954, allocations: 82.05 kB / 0.8483 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1956, allocations: 346.8 kB / 0.8486 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/0.1959, allocations: 148.8 kB / 0.8487 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003988/0.1963, allocations: 290.5 kB / 0.849 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007428/0.197, allocations: 486.5 kB / 0.8495 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.197, allocations: 0 / 0.8495 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001045/0.1981, allocations: 0.5619 MB / 0.85 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.1981, allocations: 8 kB / 0.85 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.1981, allocations: 4 kB / 0.85 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003222/0.1984, allocations: 86.45 kB / 0.8501 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003573/0.1988, allocations: 88.38 kB / 0.8502 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.1988, allocations: 19.88 kB / 0.8502 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.1991, allocations: 27.97 kB / 0.8502 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.1991, allocations: 20 kB / 0.8503 GB, free: 5.777 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002115/0.1993, allocations: 178.4 kB / 0.8504 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.996e-05/0.1994, allocations: 39.77 kB / 0.8505 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009303/0.2003, allocations: 464.2 kB / 0.8509 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.2003, allocations: 8 kB / 0.8509 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.2003, allocations: 0 / 0.8509 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.2003, allocations: 3.984 kB / 0.8509 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.2019, allocations: 0.8999 MB / 0.8518 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.2019, allocations: 4 kB / 0.8518 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.2022, allocations: 51.95 kB / 0.8519 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000247/0.2024, allocations: 86.53 kB / 0.8519 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.2024, allocations: 8 kB / 0.8519 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.2024, allocations: 0 / 0.8519 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.2024, allocations: 4 kB / 0.852 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008746/0.2033, allocations: 0.5391 MB / 0.8525 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.2035, allocations: 67.69 kB / 0.8525 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.443e-05/0.2036, allocations: 8 kB / 0.8526 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.2038, allocations: 27.91 kB / 0.8526 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.2039, allocations: 23.95 kB / 0.8526 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.2039, allocations: 8 kB / 0.8526 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002429/0.2041, allocations: 239 kB / 0.8528 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2041, allocations: 0 / 0.8528 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000436/0.2046, allocations: 88 kB / 0.8529 GB, free: 2.922 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001194/0.2057, allocations: 1.088 MB / 0.854 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008259/0.2066, allocations: 399.8 kB / 0.8544 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2066, allocations: 0 / 0.8544 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000378/0.207, allocations: 194.7 kB / 0.8546 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007515/0.2077, allocations: 136.5 kB / 0.8547 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004956/0.2127, allocations: 3.729 MB / 0.8583 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.2129, allocations: 231.7 kB / 0.8585 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002466/0.2131, allocations: 79.36 kB / 0.8586 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/0.2133, allocations: 127.4 kB / 0.8587 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of SimCode: time 7.01e-07/0.2133, allocations: 0 / 0.8587 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03941/0.2527, allocations: 9.349 MB / 0.8679 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.88, allocations: 0 / 0.8679 GB, free: 3.609 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.018125522881746] Failed to read output from testmodel.py, exit status != 0: 11.99705259501934 12.026513228 11.837149115 Calling exit ...