Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001103/0.001103, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009764/0.0009764, allocations: 213.7 kB / 22.25 MB, free: 3.711 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.9611/0.9611, allocations: 230.6 MB / 256 MB, free: 9.809 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8125/0.8125, allocations: 203.8 MB / 0.5042 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IDEAS_dev_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.001061/0.001061, allocations: 68.34 kB / 0.7182 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5311/0.5321, allocations: 102 MB / 0.8179 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003918/0.536, allocations: 3.876 MB / 0.8216 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001954/0.538, allocations: 1.887 MB / 0.8235 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.5382, allocations: 25.72 kB / 0.8235 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006245/0.5388, allocations: 267.8 kB / 0.8238 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004143/0.5392, allocations: 315.9 kB / 0.8241 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.5396, allocations: 249.9 kB / 0.8243 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005143/0.5401, allocations: 0.6057 MB / 0.8249 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000363/0.5405, allocations: 243.1 kB / 0.8251 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002944/0.5407, allocations: 248.1 kB / 0.8254 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.541, allocations: 246.1 kB / 0.8256 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.555e-05/0.541, allocations: 27.16 kB / 0.8256 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003238/0.5414, allocations: 279.5 kB / 0.8259 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.5415, allocations: 125.2 kB / 0.826 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.5416, allocations: 205.2 kB / 0.8262 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00058/0.5422, allocations: 0.5974 MB / 0.8268 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.5422, allocations: 4 kB / 0.8268 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.374e-06/0.5422, allocations: 4.812 kB / 0.8268 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.5422, allocations: 0 / 0.8268 GB, free: 11.73 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.000942/0.5432, allocations: 0.6737 MB / 0.8275 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.5432, allocations: 14.36 kB / 0.8275 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.336e-05/0.5433, allocations: 70.38 kB / 0.8275 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004938/0.5438, allocations: 134.2 kB / 0.8277 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.5442, allocations: 340.2 kB / 0.828 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.5442, allocations: 25.02 kB / 0.828 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.475e-05/0.5443, allocations: 28.25 kB / 0.828 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006492/0.5449, allocations: 0.5576 MB / 0.8286 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.5449, allocations: 2.188 kB / 0.8286 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.545, allocations: 21.05 kB / 0.8286 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.166e-05/0.545, allocations: 45.16 kB / 0.8286 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005556/0.5456, allocations: 408.1 kB / 0.829 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/0.5476, allocations: 3.281 MB / 0.8322 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006101/0.5482, allocations: 302.2 kB / 0.8325 GB, free: 7.328 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.5485, allocations: 170 kB / 0.8327 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.5486, allocations: 2.719 kB / 0.8327 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.5486, allocations: 36.12 kB / 0.8327 GB, free: 7.223 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 1.403e-06/0.5486, allocations: 0 / 0.8327 GB, free: 7.223 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.001461/0.55, allocations: 0.8344 MB / 0.8335 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.5501, allocations: 53.8 kB / 0.8336 GB, free: 6.824 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.5503, allocations: 340.6 kB / 0.8339 GB, free: 6.645 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.5504, allocations: 30.98 kB / 0.834 GB, free: 6.609 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.5505, allocations: 249.5 kB / 0.8342 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.5505, allocations: 100.1 kB / 0.8343 GB, free: 6.324 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.061e-05/0.5506, allocations: 81.88 kB / 0.8344 GB, free: 6.273 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.512e-05/0.5507, allocations: 354.7 kB / 0.8347 GB, free: 5.938 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.5509, allocations: 147 kB / 0.8348 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/0.5512, allocations: 291.9 kB / 0.8351 GB, free: 5.668 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004568/0.5516, allocations: 487.5 kB / 0.8356 GB, free: 5.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5516, allocations: 1.094 kB / 0.8356 GB, free: 5.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006475/0.5523, allocations: 0.5571 MB / 0.8361 GB, free: 5.098 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.5523, allocations: 7.203 kB / 0.8361 GB, free: 5.098 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.5523, allocations: 13.45 kB / 0.8361 GB, free: 5.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002075/0.5525, allocations: 94.91 kB / 0.8362 GB, free: 5.043 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.5527, allocations: 84.48 kB / 0.8363 GB, free: 5.039 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.5527, allocations: 14.89 kB / 0.8363 GB, free: 5.031 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.5528, allocations: 29.78 kB / 0.8364 GB, free: 5.023 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.5529, allocations: 18.53 kB / 0.8364 GB, free: 5.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.0001311/0.553, allocations: 171.5 kB / 0.8365 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.553, allocations: 39.42 kB / 0.8366 GB, free: 4.855 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006041/0.5536, allocations: 470.9 kB / 0.837 GB, free: 4.645 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.5536, allocations: 2.344 kB / 0.837 GB, free: 4.645 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.5536, allocations: 1.922 kB / 0.837 GB, free: 4.645 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.5537, allocations: 6.297 kB / 0.837 GB, free: 4.641 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.5547, allocations: 0.9335 MB / 0.838 GB, free: 4.105 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5547, allocations: 1.062 kB / 0.838 GB, free: 4.105 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.5549, allocations: 55.02 kB / 0.838 GB, free: 4.098 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003058/0.5552, allocations: 86.34 kB / 0.8381 GB, free: 4.055 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.5552, allocations: 6.578 kB / 0.8381 GB, free: 4.051 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.5552, allocations: 2.031 kB / 0.8381 GB, free: 4.051 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5552, allocations: 1.875 kB / 0.8381 GB, free: 4.051 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/0.5557, allocations: 0.5428 MB / 0.8386 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.527e-05/0.5558, allocations: 69.45 kB / 0.8387 GB, free: 3.695 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.5559, allocations: 6.812 kB / 0.8387 GB, free: 3.691 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.556, allocations: 25.39 kB / 0.8387 GB, free: 3.684 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.556, allocations: 28.95 kB / 0.8388 GB, free: 3.676 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.556, allocations: 9.969 kB / 0.8388 GB, free: 3.672 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001741/0.5562, allocations: 235 kB / 0.839 GB, free: 3.547 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.5562, allocations: 0 / 0.839 GB, free: 3.547 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002836/0.5565, allocations: 84.5 kB / 0.8391 GB, free: 3.539 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.0007707/0.5573, allocations: 1.084 MB / 0.8401 GB, free: 2.688 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005764/0.5578, allocations: 402.8 kB / 0.8405 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5578, allocations: 0 / 0.8405 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.5581, allocations: 192.5 kB / 0.8407 GB, free: 2.469 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004569/0.5585, allocations: 125.6 kB / 0.8408 GB, free: 2.426 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003393/0.5619, allocations: 3.738 MB / 0.8445 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.5622, allocations: 0.8247 MB / 0.8453 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001743/0.5624, allocations: 83.73 kB / 0.8453 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.5625, allocations: 128.5 kB / 0.8455 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of SimCode: time 6.11e-07/0.5625, allocations: 0 / 0.8455 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.5859, allocations: 8.651 MB / 0.8539 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.058/7.644, allocations: 2.281 kB / 0.8539 GB, free: 10.81 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.809462216915563] Failed to read output from testmodel.py, exit status != 0: 7.7298083959612995 7.739592315 7.195157663 Calling exit ...