Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0009005/0.0009005, 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.002215/0.002215, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.9495/0.9495, allocations: 230.6 MB / 256 MB, free: 9.434 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.7842/0.7842, 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.VariableImpedance,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.0009669/0.0009669, allocations: 69.45 kB / 0.7178 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5003/0.5013, allocations: 102 MB / 0.8174 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003702/0.505, allocations: 3.613 MB / 0.8209 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002234/0.5072, allocations: 1.766 MB / 0.8226 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.5074, allocations: 25.56 kB / 0.8227 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006663/0.5081, allocations: 269.1 kB / 0.8229 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004718/0.5085, allocations: 313.3 kB / 0.8232 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.509, allocations: 247.9 kB / 0.8234 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005232/0.5095, allocations: 0.6096 MB / 0.824 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003604/0.5098, allocations: 223.4 kB / 0.8243 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003303/0.5102, allocations: 257.7 kB / 0.8245 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.5104, allocations: 230.6 kB / 0.8247 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.736e-05/0.5105, allocations: 25.81 kB / 0.8247 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003562/0.5108, allocations: 242.8 kB / 0.825 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.511, allocations: 129.7 kB / 0.8251 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.5111, allocations: 174.6 kB / 0.8253 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006597/0.5118, allocations: 0.595 MB / 0.8258 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5118, allocations: 0 / 0.8258 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5118, allocations: 0 / 0.8258 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.5118, allocations: 5.188 kB / 0.8259 GB, free: 12.22 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0009016/0.5127, allocations: 0.6758 MB / 0.8265 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.5127, allocations: 8.188 kB / 0.8265 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.831e-05/0.5128, allocations: 75.72 kB / 0.8266 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005582/0.5134, allocations: 132.5 kB / 0.8267 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004348/0.5138, allocations: 340.5 kB / 0.827 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.5138, allocations: 29.58 kB / 0.8271 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.253e-05/0.5139, allocations: 27.75 kB / 0.8271 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006455/0.5145, allocations: 0.6306 MB / 0.8277 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.5145, allocations: 3.172 kB / 0.8277 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.5146, allocations: 12.59 kB / 0.8277 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.314e-05/0.5146, allocations: 41.28 kB / 0.8278 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004993/0.5151, allocations: 411.4 kB / 0.8282 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001968/0.5171, allocations: 2.754 MB / 0.8309 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006542/0.5177, allocations: 301.5 kB / 0.8311 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.518, allocations: 165.1 kB / 0.8313 GB, free: 8.273 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.518, allocations: 6.547 kB / 0.8313 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.5181, allocations: 33.39 kB / 0.8313 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 2.454e-06/0.5181, allocations: 0.625 kB / 0.8313 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.00158/0.5196, allocations: 0.8463 MB / 0.8322 GB, free: 7.883 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.5197, allocations: 55.53 kB / 0.8322 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003795/0.5201, allocations: 348.8 kB / 0.8325 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.5201, allocations: 26.77 kB / 0.8326 GB, free: 7.602 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.5202, allocations: 253.8 kB / 0.8328 GB, free: 7.391 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.54e-05/0.5203, allocations: 105 kB / 0.8329 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.011e-05/0.5204, allocations: 73.84 kB / 0.833 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.5205, allocations: 347.1 kB / 0.8333 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.5207, allocations: 150.9 kB / 0.8335 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.521, allocations: 290.2 kB / 0.8337 GB, free: 6.668 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00051/0.5215, allocations: 491.4 kB / 0.8342 GB, free: 6.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.5215, allocations: 1.094 kB / 0.8342 GB, free: 6.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007325/0.5222, allocations: 0.5617 MB / 0.8348 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.5222, allocations: 8.016 kB / 0.8348 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.5223, allocations: 4.875 kB / 0.8348 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002252/0.5225, allocations: 96.39 kB / 0.8349 GB, free: 6.047 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.5227, allocations: 91.94 kB / 0.8349 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.5227, allocations: 15.7 kB / 0.835 GB, free: 6.027 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.5229, allocations: 25.47 kB / 0.835 GB, free: 6.023 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.5229, allocations: 19.3 kB / 0.835 GB, free: 6.02 MB / 0.6198 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.000162/0.5231, allocations: 173.7 kB / 0.8352 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.5231, allocations: 43.33 kB / 0.8352 GB, free: 5.848 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006395/0.5238, allocations: 472.3 kB / 0.8357 GB, free: 5.637 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.5238, allocations: 3.438 kB / 0.8357 GB, free: 5.637 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.5238, allocations: 1.125 kB / 0.8357 GB, free: 5.637 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5238, allocations: 1.312 kB / 0.8357 GB, free: 5.637 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.5249, allocations: 0.8921 MB / 0.8365 GB, free: 5.117 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.5249, allocations: 1.125 kB / 0.8365 GB, free: 5.117 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.525, allocations: 54.14 kB / 0.8366 GB, free: 5.109 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001574/0.5252, allocations: 82.78 kB / 0.8367 GB, free: 5.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.5252, allocations: 7.188 kB / 0.8367 GB, free: 5.066 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.5252, allocations: 1.938 kB / 0.8367 GB, free: 5.066 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5252, allocations: 1.031 kB / 0.8367 GB, free: 5.066 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005985/0.5258, allocations: 0.5395 MB / 0.8372 GB, free: 4.758 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.5259, allocations: 66.05 kB / 0.8373 GB, free: 4.723 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.526, allocations: 10.84 kB / 0.8373 GB, free: 4.715 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.5261, allocations: 25.72 kB / 0.8373 GB, free: 4.707 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.624e-05/0.5262, allocations: 28.28 kB / 0.8373 GB, free: 4.699 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.5262, allocations: 10.11 kB / 0.8373 GB, free: 4.695 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002275/0.5264, allocations: 234.6 kB / 0.8376 GB, free: 4.574 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.5264, allocations: 0 / 0.8376 GB, free: 4.574 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003607/0.5268, allocations: 84.91 kB / 0.8376 GB, free: 4.566 MB / 0.6198 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.001396/0.5282, allocations: 1.097 MB / 0.8387 GB, free: 3.707 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.5292, allocations: 402.5 kB / 0.8391 GB, free: 3.562 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5292, allocations: 4.062 kB / 0.8391 GB, free: 3.559 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003896/0.5296, allocations: 192.1 kB / 0.8393 GB, free: 3.484 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007447/0.5303, allocations: 130.6 kB / 0.8394 GB, free: 3.438 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004732/0.535, allocations: 3.73 MB / 0.8431 GB, free: 1.004 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.5352, allocations: 226 kB / 0.8433 GB, free: 0.8594 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000267/0.5355, allocations: 82.62 kB / 0.8433 GB, free: 0.8203 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.5356, allocations: 125.2 kB / 0.8435 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of SimCode: time 1.573e-06/0.5357, allocations: 0 / 0.8435 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/0.5609, allocations: 9.342 MB / 0.8526 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.023/7.584, allocations: 9.578 kB / 0.8526 GB, free: 11.98 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.55021391203627] Failed to read output from testmodel.py, exit status != 0: 7.665883745066822 7.678335173 7.164541526 Calling exit ...