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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 110 kB / 16.41 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.101/1.101, allocations: 173.4 MB / 470.7 MB, free: 13.6 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 63.36 kB / 0.6478 GB, free: 11.79 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1924, allocations: 89.52 MB / 0.7353 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005124/0.1975, allocations: 3.252 MB / 0.7384 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003547/0.2011, allocations: 2.026 MB / 0.7404 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.2013, allocations: 4 kB / 0.7404 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009523/0.2023, allocations: 294.7 kB / 0.7407 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006031/0.2029, allocations: 234.9 kB / 0.7409 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006969/0.2036, allocations: 287.3 kB / 0.7412 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004928/0.2041, allocations: 414.6 kB / 0.7416 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003712/0.2045, allocations: 207.3 kB / 0.7418 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.2047, allocations: 159.5 kB / 0.7419 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003898/0.2051, allocations: 199.3 kB / 0.7421 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.743e-05/0.2052, allocations: 24 kB / 0.7421 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004744/0.2057, allocations: 267.5 kB / 0.7424 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.2058, allocations: 119.7 kB / 0.7425 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.206, allocations: 147.3 kB / 0.7427 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006639/0.2067, allocations: 494.2 kB / 0.7431 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2067, allocations: 0 / 0.7431 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2067, allocations: 0 / 0.7431 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.2067, allocations: 0 / 0.7431 GB, free: 10.17 MB / 0.5762 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.001231/0.2079, allocations: 0.6076 MB / 0.7437 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.208, allocations: 15.97 kB / 0.7437 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.207e-05/0.2081, allocations: 62.72 kB / 0.7438 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.2091, allocations: 116.6 kB / 0.7439 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.2095, allocations: 285.5 kB / 0.7442 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.2096, allocations: 16.94 kB / 0.7442 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.2097, allocations: 44.41 kB / 0.7442 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000827/0.2105, allocations: 457.1 kB / 0.7447 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.2106, allocations: 0 / 0.7447 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/0.2106, allocations: 8 kB / 0.7447 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001492/0.2108, allocations: 40.53 kB / 0.7447 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000686/0.2115, allocations: 365.9 kB / 0.7451 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002956/0.2144, allocations: 2.218 MB / 0.7472 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.215, allocations: 274.4 kB / 0.7475 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.2152, allocations: 162.8 kB / 0.7477 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.2153, allocations: 4 kB / 0.7477 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.2153, allocations: 34.56 kB / 0.7477 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=22): time 1.914e-06/0.2153, allocations: 0 / 0.7477 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.002033/0.2173, allocations: 1.059 MB / 0.7487 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.2174, allocations: 55.41 kB / 0.7488 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003655/0.2178, allocations: 256.9 kB / 0.749 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.2178, allocations: 29.7 kB / 0.749 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.218, allocations: 192.3 kB / 0.7492 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.801e-05/0.2181, allocations: 95.25 kB / 0.7493 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.2182, allocations: 73.64 kB / 0.7494 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.2184, allocations: 338.8 kB / 0.7497 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.2187, allocations: 159.8 kB / 0.7499 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003665/0.2191, allocations: 246.6 kB / 0.7501 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006245/0.2197, allocations: 415.3 kB / 0.7505 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2197, allocations: 3.938 kB / 0.7505 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001262/0.221, allocations: 0.5934 MB / 0.7511 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.221, allocations: 4 kB / 0.7511 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.2211, allocations: 8.312 kB / 0.7511 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007312/0.2218, allocations: 188.7 kB / 0.7513 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.2221, allocations: 63.89 kB / 0.7513 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3298/0.5519, allocations: 2.491 MB / 0.7538 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004448/0.5524, allocations: 23.12 kB / 0.7538 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/0.5524, allocations: 19.25 kB / 0.7538 GB, free: 17.29 MB / 0.5762 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.0001914/0.5526, allocations: 164.2 kB / 0.754 GB, free: 17.17 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.397e-05/0.5527, allocations: 27.77 kB / 0.754 GB, free: 17.17 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005814/0.5533, allocations: 353.8 kB / 0.7543 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.5533, allocations: 2.219 kB / 0.7543 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.5533, allocations: 0.6875 kB / 0.7543 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.5533, allocations: 5.969 kB / 0.7543 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.5543, allocations: 0.8144 MB / 0.7551 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.5543, allocations: 3.125 kB / 0.7551 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004071/0.5548, allocations: 75.08 kB / 0.7552 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.5548, allocations: 3.156 kB / 0.7552 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.5548, allocations: 12.73 kB / 0.7552 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.5548, allocations: 1.344 kB / 0.7552 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.5548, allocations: 1.312 kB / 0.7552 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006957/0.5555, allocations: 0.6146 MB / 0.7558 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.5556, allocations: 129 kB / 0.7559 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/0.5557, allocations: 10.61 kB / 0.756 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.5559, allocations: 13.97 kB / 0.756 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.556, allocations: 18.08 kB / 0.756 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.556, allocations: 10.84 kB / 0.756 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001996/0.5562, allocations: 188.9 kB / 0.7562 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5562, allocations: 0 / 0.7562 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004225/0.5566, allocations: 85.38 kB / 0.7563 GB, free: 16.48 MB / 0.5762 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.0008731/0.5575, allocations: 1.164 MB / 0.7574 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008977/0.5584, allocations: 0.5394 MB / 0.7579 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5584, allocations: 1.75 kB / 0.7579 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.5586, allocations: 151 kB / 0.7581 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.5591, allocations: 53.72 kB / 0.7581 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004844/0.564, allocations: 3.712 MB / 0.7617 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.5643, allocations: 0.7998 MB / 0.7625 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000259/0.5645, allocations: 78.55 kB / 0.7626 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.5647, allocations: 84.2 kB / 0.7627 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of SimCode: time 5.3e-07/0.5647, allocations: 0 / 0.7627 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03668/0.6014, allocations: 6.931 MB / 0.7695 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.25/10.85, allocations: 0.625 kB / 0.7695 GB, free: 12.63 MB / 0.5762 GB " [Timeout remaining time 649] (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: 14.744813419878483] Failed to read output from testmodel.py, exit status != 0: 10.929406497161835 10.94473228 10.734879839 Calling exit ...