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.0007381/0.0007381, allocations: 101.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.0008248/0.0008248, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.9407/0.9407, allocations: 230.6 MB / 256 MB, free: 9.602 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.7702/0.7702, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.0008421/0.0008421, allocations: 74.8 kB / 0.7182 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5338/0.5346, allocations: 102 MB / 0.8178 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.00373/0.5384, allocations: 3.614 MB / 0.8213 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002166/0.5405, allocations: 1.76 MB / 0.823 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.5407, allocations: 24.75 kB / 0.8231 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005968/0.5413, allocations: 272.6 kB / 0.8233 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004643/0.5417, allocations: 313.8 kB / 0.8236 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004145/0.5422, allocations: 243.7 kB / 0.8239 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006302/0.5428, allocations: 0.6091 MB / 0.8245 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003983/0.5432, allocations: 226.7 kB / 0.8247 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003144/0.5435, allocations: 262.9 kB / 0.8249 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000289/0.5438, allocations: 231.2 kB / 0.8251 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.5438, allocations: 25.69 kB / 0.8252 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003355/0.5442, allocations: 242.4 kB / 0.8254 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.5443, allocations: 124.7 kB / 0.8255 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.5445, allocations: 177.4 kB / 0.8257 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009731/0.5454, allocations: 0.5921 MB / 0.8263 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5454, allocations: 0 / 0.8263 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.404e-06/0.5454, allocations: 1.625 kB / 0.8263 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.5454, allocations: 0 / 0.8263 GB, free: 12.05 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.0009364/0.5464, allocations: 0.6813 MB / 0.8269 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.5464, allocations: 9.625 kB / 0.8269 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.71e-05/0.5465, allocations: 75.23 kB / 0.827 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005668/0.5471, allocations: 134 kB / 0.8271 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004758/0.5475, allocations: 349.4 kB / 0.8275 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.5476, allocations: 20.97 kB / 0.8275 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.5476, allocations: 30.86 kB / 0.8275 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007843/0.5484, allocations: 0.6243 MB / 0.8281 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.5484, allocations: 6.797 kB / 0.8281 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.5484, allocations: 12.44 kB / 0.8281 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.437e-05/0.5485, allocations: 41.44 kB / 0.8282 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006173/0.5491, allocations: 411.4 kB / 0.8286 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002129/0.5513, allocations: 2.759 MB / 0.8313 GB, free: 8.258 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000689/0.5519, allocations: 309 kB / 0.8316 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/0.5523, allocations: 164.7 kB / 0.8317 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.5523, allocations: 3.969 kB / 0.8317 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.5523, allocations: 40.72 kB / 0.8318 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 1.804e-06/0.5523, allocations: 0 / 0.8318 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.001446/0.5538, allocations: 0.8307 MB / 0.8326 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.5538, allocations: 59.14 kB / 0.8326 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.5541, allocations: 348.2 kB / 0.833 GB, free: 7.445 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.5541, allocations: 30.7 kB / 0.833 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.5542, allocations: 249.9 kB / 0.8332 GB, free: 7.203 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.583e-05/0.5543, allocations: 101.2 kB / 0.8333 GB, free: 7.125 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.451e-05/0.5544, allocations: 73.98 kB / 0.8334 GB, free: 7.082 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.5545, allocations: 347.9 kB / 0.8337 GB, free: 6.754 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.5547, allocations: 146.3 kB / 0.8339 GB, free: 6.711 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.555, allocations: 293.5 kB / 0.8342 GB, free: 6.484 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004681/0.5554, allocations: 484.1 kB / 0.8346 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5554, allocations: 1.375 kB / 0.8346 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006612/0.5561, allocations: 0.5737 MB / 0.8352 GB, free: 5.906 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.5561, allocations: 7.469 kB / 0.8352 GB, free: 5.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.5561, allocations: 5.125 kB / 0.8352 GB, free: 5.906 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002181/0.5563, allocations: 83.27 kB / 0.8353 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.5565, allocations: 88.38 kB / 0.8354 GB, free: 5.863 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.5566, allocations: 16.06 kB / 0.8354 GB, free: 5.855 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.5567, allocations: 25.64 kB / 0.8354 GB, free: 5.852 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.5567, allocations: 22.06 kB / 0.8354 GB, free: 5.844 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.0001344/0.5568, allocations: 186.5 kB / 0.8356 GB, free: 5.684 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.5569, allocations: 39.8 kB / 0.8356 GB, free: 5.664 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006055/0.5575, allocations: 463.6 kB / 0.8361 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.5575, allocations: 3.406 kB / 0.8361 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.5575, allocations: 1.062 kB / 0.8361 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.5575, allocations: 1.547 kB / 0.8361 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.5586, allocations: 0.8965 MB / 0.837 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.5586, allocations: 1.062 kB / 0.837 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.5587, allocations: 55.7 kB / 0.837 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001487/0.5588, allocations: 78.64 kB / 0.8371 GB, free: 4.895 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.5589, allocations: 6.281 kB / 0.8371 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.5589, allocations: 2.25 kB / 0.8371 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5589, allocations: 5.969 kB / 0.8371 GB, free: 4.887 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008305/0.5597, allocations: 0.5414 MB / 0.8376 GB, free: 4.574 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.334e-05/0.5598, allocations: 62.38 kB / 0.8377 GB, free: 4.543 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.5598, allocations: 10.67 kB / 0.8377 GB, free: 4.535 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.5599, allocations: 29.67 kB / 0.8377 GB, free: 4.523 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.56, allocations: 19.73 kB / 0.8377 GB, free: 4.523 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.56, allocations: 10.61 kB / 0.8378 GB, free: 4.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001872/0.5602, allocations: 234.6 kB / 0.838 GB, free: 4.398 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.5602, allocations: 5.062 kB / 0.838 GB, free: 4.395 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002782/0.5605, allocations: 83.97 kB / 0.8381 GB, free: 4.387 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.0007496/0.5612, allocations: 1.092 MB / 0.8391 GB, free: 3.531 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005477/0.5618, allocations: 410.6 kB / 0.8395 GB, free: 3.379 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5618, allocations: 0 / 0.8395 GB, free: 3.379 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002716/0.562, allocations: 197 kB / 0.8397 GB, free: 3.301 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.5625, allocations: 128.2 kB / 0.8398 GB, free: 3.258 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/0.5659, allocations: 3.733 MB / 0.8435 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.5661, allocations: 222.9 kB / 0.8437 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001714/0.5663, allocations: 79.8 kB / 0.8438 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.5664, allocations: 128 kB / 0.8439 GB, free: 492 kB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/0.5664, allocations: 4 kB / 0.8439 GB, free: 488 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02215/0.5885, allocations: 9.334 MB / 0.853 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.049/7.638, allocations: 18.56 kB / 0.853 GB, free: 11.75 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.522308802697808] Failed to read output from testmodel.py, exit status != 0: 7.724087634123862 7.740109768 7.1919004 Calling exit ...