Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.000846/0.000846, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 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.0008916/0.0008916, allocations: 208.1 kB / 22.24 MB, free: 3.59 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.9667/0.9667, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7744/0.7744, allocations: 203.5 MB / 0.5039 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.0009283/0.0009283, allocations: 72.2 kB / 0.7178 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.487/0.4879, allocations: 102 MB / 0.8174 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004635/0.4925, allocations: 4.617 MB / 0.8219 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003236/0.4958, allocations: 2.404 MB / 0.8242 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003679/0.4961, allocations: 35.75 kB / 0.8243 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009769/0.4971, allocations: 403.4 kB / 0.8247 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009781/0.4981, allocations: 465.8 kB / 0.8251 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000761/0.4988, allocations: 378.3 kB / 0.8255 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008099/0.4997, allocations: 0.9143 MB / 0.8263 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004635/0.5001, allocations: 319.5 kB / 0.8267 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004391/0.5006, allocations: 354.3 kB / 0.827 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004189/0.501, allocations: 351 kB / 0.8273 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.088e-05/0.501, allocations: 37.66 kB / 0.8274 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005766/0.5016, allocations: 363.6 kB / 0.8277 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004209/0.502, allocations: 188.7 kB / 0.8279 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.5022, allocations: 257 kB / 0.8281 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009086/0.5031, allocations: 0.8964 MB / 0.829 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5031, allocations: 0.6094 kB / 0.829 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.734e-06/0.5031, allocations: 0 / 0.829 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.5031, allocations: 0 / 0.829 GB, free: 10.45 MB / 0.6198 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.001013/0.5041, allocations: 0.8813 MB / 0.8299 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.5042, allocations: 10.25 kB / 0.8299 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.043e-05/0.5043, allocations: 93 kB / 0.83 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008586/0.5051, allocations: 214.3 kB / 0.8302 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006614/0.5058, allocations: 480.5 kB / 0.8306 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/0.5058, allocations: 35.48 kB / 0.8307 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.137e-05/0.5059, allocations: 45.36 kB / 0.8307 GB, free: 9.367 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008654/0.5068, allocations: 0.9823 MB / 0.8317 GB, free: 8.625 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.5068, allocations: 7.469 kB / 0.8317 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.5068, allocations: 20.97 kB / 0.8317 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.657e-05/0.5069, allocations: 65.58 kB / 0.8318 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000624/0.5075, allocations: 0.5621 MB / 0.8323 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002752/0.5103, allocations: 4.721 MB / 0.8369 GB, free: 4.316 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004937/0.5108, allocations: 422.1 kB / 0.8373 GB, free: 4.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.511, allocations: 200.7 kB / 0.8375 GB, free: 4.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.511, allocations: 3.5 kB / 0.8375 GB, free: 4.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.511, allocations: 38.3 kB / 0.8376 GB, free: 4.047 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 2.094e-06/0.511, allocations: 0 / 0.8376 GB, free: 4.047 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.001692/0.5127, allocations: 1.14 MB / 0.8387 GB, free: 3.566 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.5128, allocations: 55.81 kB / 0.8387 GB, free: 3.504 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006567/0.5134, allocations: 0.5072 MB / 0.8392 GB, free: 3.258 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.5134, allocations: 34.86 kB / 0.8392 GB, free: 3.219 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.5136, allocations: 358 kB / 0.8396 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.627e-05/0.5137, allocations: 122.9 kB / 0.8397 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.5138, allocations: 115 kB / 0.8398 GB, free: 2.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.5139, allocations: 365.4 kB / 0.8402 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.5141, allocations: 200.4 kB / 0.8404 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/0.5145, allocations: 450.4 kB / 0.8408 GB, free: 1.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005924/0.5151, allocations: 0.693 MB / 0.8415 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5151, allocations: 2.094 kB / 0.8415 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009074/0.516, allocations: 0.8047 MB / 0.8422 GB, free: 1.102 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.516, allocations: 8.766 kB / 0.8423 GB, free: 1.102 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.516, allocations: 9.719 kB / 0.8423 GB, free: 1.102 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003342/0.5164, allocations: 161.1 kB / 0.8424 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.5167, allocations: 121.6 kB / 0.8425 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/0.5189, allocations: 4.029 MB / 0.8465 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003411/0.5193, allocations: 37.56 kB / 0.8465 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.5193, allocations: 32.12 kB / 0.8465 GB, free: 13.04 MB / 0.6355 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.0002631/0.5196, allocations: 215.7 kB / 0.8467 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/0.5196, allocations: 61.22 kB / 0.8468 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007238/0.5204, allocations: 0.5942 MB / 0.8474 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.5204, allocations: 4.094 kB / 0.8474 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.5204, allocations: 5.406 kB / 0.8474 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.5204, allocations: 3.984 kB / 0.8474 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.522, allocations: 1.172 MB / 0.8485 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.522, allocations: 2.938 kB / 0.8485 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.5222, allocations: 57.58 kB / 0.8486 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000246/0.5224, allocations: 142.4 kB / 0.8487 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.5224, allocations: 14.69 kB / 0.8487 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/0.5246, allocations: 4.017 MB / 0.8527 GB, free: 7.484 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.5246, allocations: 2.438 kB / 0.8527 GB, free: 7.484 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008102/0.5254, allocations: 0.7106 MB / 0.8534 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/0.5256, allocations: 95.8 kB / 0.8535 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.5257, allocations: 7.969 kB / 0.8535 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.5258, allocations: 22.12 kB / 0.8535 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.06e-05/0.5259, allocations: 36.59 kB / 0.8535 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.5259, allocations: 15.53 kB / 0.8535 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003076/0.5262, allocations: 331.6 kB / 0.8539 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5262, allocations: 0 / 0.8539 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005611/0.5268, allocations: 142.1 kB / 0.854 GB, free: 6.668 MB / 0.6355 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.0008571/0.5276, allocations: 1.257 MB / 0.8552 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.5286, allocations: 0.8652 MB / 0.8561 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5286, allocations: 1.281 kB / 0.8561 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004545/0.5291, allocations: 0.5723 MB / 0.8566 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006668/0.5298, allocations: 215.6 kB / 0.8568 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005158/0.5349, allocations: 5.1 MB / 0.8618 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.5352, allocations: 314.2 kB / 0.8621 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003052/0.5355, allocations: 113.7 kB / 0.8622 GB, free: 480 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.5356, allocations: 195.5 kB / 0.8624 GB, free: 316 kB / 0.6355 GB Notification: Performance of SimCode: time 1.012e-06/0.5356, allocations: 7.938 kB / 0.8624 GB, free: 308 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0392/0.5748, allocations: 14.15 MB / 0.8762 GB, free: 8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.155/7.73, allocations: 8.578 kB / 0.8762 GB, free: 7.996 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.700721421744674] Failed to read output from testmodel.py, exit status != 0: 7.816291519906372 7.825492976 7.32030139 Calling exit ...