Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.000749/0.000749, allocations: 109.3 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.0009111/0.0009111, allocations: 221.7 kB / 22.25 MB, free: 3.703 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 1.008/1.008, allocations: 230.6 MB / 256 MB, free: 9.777 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.7705/0.7705, 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.DynamicLoads,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.0009502/0.0009502, allocations: 63.94 kB / 0.7182 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5365/0.5374, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003718/0.5411, allocations: 3.381 MB / 0.8212 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00243/0.5436, allocations: 2.131 MB / 0.8232 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.5437, allocations: 7.188 kB / 0.8232 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000657/0.5443, allocations: 302.1 kB / 0.8235 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.5447, allocations: 242.6 kB / 0.8238 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.5451, allocations: 289 kB / 0.824 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004087/0.5455, allocations: 409.6 kB / 0.8244 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003136/0.5458, allocations: 169.4 kB / 0.8246 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002374/0.5461, allocations: 177.3 kB / 0.8248 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003086/0.5464, allocations: 213 kB / 0.825 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/0.5464, allocations: 23.91 kB / 0.825 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000338/0.5467, allocations: 266.6 kB / 0.8252 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.5469, allocations: 120.6 kB / 0.8254 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.547, allocations: 151 kB / 0.8255 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008847/0.5479, allocations: 499 kB / 0.826 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5479, allocations: 0.6562 kB / 0.826 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.335e-06/0.5479, allocations: 0 / 0.826 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.5479, allocations: 4 kB / 0.826 GB, free: 12.35 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008801/0.5488, allocations: 0.5359 MB / 0.8265 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.5488, allocations: 7.625 kB / 0.8265 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.097e-05/0.5489, allocations: 60.89 kB / 0.8266 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005686/0.5495, allocations: 120 kB / 0.8267 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.5498, allocations: 220 kB / 0.8269 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.5498, allocations: 23.41 kB / 0.8269 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.5499, allocations: 47.23 kB / 0.827 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005649/0.5505, allocations: 453.2 kB / 0.8274 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.5505, allocations: 5.203 kB / 0.8274 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.5505, allocations: 11.81 kB / 0.8274 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-05/0.5506, allocations: 39.88 kB / 0.8274 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004851/0.5511, allocations: 368.8 kB / 0.8278 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001965/0.553, allocations: 2.153 MB / 0.8299 GB, free: 9.492 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/0.5534, allocations: 248.8 kB / 0.8301 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.5536, allocations: 145 kB / 0.8303 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.5536, allocations: 3.047 kB / 0.8303 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.5536, allocations: 37.19 kB / 0.8303 GB, free: 9.289 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.853e-06/0.5536, allocations: 0 / 0.8303 GB, free: 9.289 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001575/0.5552, allocations: 0.9017 MB / 0.8312 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.5553, allocations: 58.48 kB / 0.8313 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/0.5556, allocations: 261.7 kB / 0.8315 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.5556, allocations: 31.14 kB / 0.8315 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.5558, allocations: 195.2 kB / 0.8317 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.798e-05/0.5558, allocations: 86.05 kB / 0.8318 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.5559, allocations: 79.14 kB / 0.8319 GB, free: 8.301 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.556, allocations: 331.5 kB / 0.8322 GB, free: 7.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.5563, allocations: 156.1 kB / 0.8323 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.5565, allocations: 243.3 kB / 0.8326 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004596/0.557, allocations: 405.9 kB / 0.833 GB, free: 7.547 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.557, allocations: 7.938 kB / 0.833 GB, free: 7.539 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008723/0.5579, allocations: 0.5938 MB / 0.8335 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.5579, allocations: 9.266 kB / 0.8336 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.5579, allocations: 2.656 kB / 0.8336 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004335/0.5583, allocations: 192.4 kB / 0.8337 GB, free: 7.254 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.5585, allocations: 63.27 kB / 0.8338 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/0.5608, allocations: 2.4 MB / 0.8361 GB, free: 5.555 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.561, allocations: 26.33 kB / 0.8362 GB, free: 5.547 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.561, allocations: 12.27 kB / 0.8362 GB, free: 5.547 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001428/0.5611, allocations: 172.3 kB / 0.8363 GB, free: 5.398 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.5612, allocations: 27.22 kB / 0.8364 GB, free: 5.383 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004278/0.5616, allocations: 355.8 kB / 0.8367 GB, free: 5.223 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.5616, allocations: 2.328 kB / 0.8367 GB, free: 5.223 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.5616, allocations: 1.312 kB / 0.8367 GB, free: 5.223 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.5616, allocations: 1.359 kB / 0.8367 GB, free: 5.223 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.5627, allocations: 0.7944 MB / 0.8375 GB, free: 4.746 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.5627, allocations: 1.734 kB / 0.8375 GB, free: 4.746 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.563, allocations: 68.55 kB / 0.8376 GB, free: 4.746 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.563, allocations: 3.078 kB / 0.8376 GB, free: 4.746 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.563, allocations: 11.23 kB / 0.8376 GB, free: 4.738 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.563, allocations: 7.047 kB / 0.8376 GB, free: 4.734 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.563, allocations: 0 / 0.8376 GB, free: 4.734 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005853/0.5636, allocations: 0.6101 MB / 0.8382 GB, free: 4.406 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.671e-05/0.5637, allocations: 53.14 kB / 0.8382 GB, free: 4.383 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.5637, allocations: 11.11 kB / 0.8382 GB, free: 4.375 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.5638, allocations: 16.2 kB / 0.8383 GB, free: 4.371 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.5638, allocations: 20.88 kB / 0.8383 GB, free: 4.363 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.5639, allocations: 10.22 kB / 0.8383 GB, free: 4.359 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001503/0.564, allocations: 190.8 kB / 0.8385 GB, free: 4.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.1e-08/0.564, allocations: 0 / 0.8385 GB, free: 4.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003045/0.5643, allocations: 90.59 kB / 0.8386 GB, free: 4.238 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008453/0.5652, allocations: 1.158 MB / 0.8397 GB, free: 3.371 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007226/0.5659, allocations: 0.5145 MB / 0.8402 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5659, allocations: 1.031 kB / 0.8402 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.566, allocations: 138.6 kB / 0.8403 GB, free: 3.074 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.5663, allocations: 56.52 kB / 0.8404 GB, free: 3.055 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003783/0.5701, allocations: 3.699 MB / 0.844 GB, free: 0.5859 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.5704, allocations: 0.787 MB / 0.8448 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000159/0.5706, allocations: 86.47 kB / 0.8448 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.5707, allocations: 86.22 kB / 0.8449 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of SimCode: time 6.21e-07/0.5707, allocations: 0 / 0.8449 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.5939, allocations: 7.245 MB / 0.852 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.065/7.659, allocations: 12.38 kB / 0.852 GB, free: 12.15 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.598330427892506] Failed to read output from testmodel.py, exit status != 0: 7.7473262320272624 7.758997616 7.209132866 Calling exit ...