Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.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.0008047/0.0008047, 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.001278/0.001278, 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.9024/0.9024, allocations: 230.6 MB / 256 MB, free: 9.594 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.7725/0.7725, allocations: 203.5 MB / 0.5039 GB, free: 10.69 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.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IDEAS_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IDEAS_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL",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.0009162/0.0009162, allocations: 66.8 kB / 0.7177 GB, free: 4.445 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4632/0.4641, allocations: 102 MB / 0.8173 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002597/0.4667, allocations: 2.307 MB / 0.8196 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.4678, allocations: 0.8264 MB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.717e-05/0.4678, allocations: 3.938 kB / 0.8204 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005239/0.4684, allocations: 139.7 kB / 0.8205 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.4685, allocations: 65.45 kB / 0.8206 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.4687, allocations: 73.42 kB / 0.8207 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.4689, allocations: 160.8 kB / 0.8208 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.4691, allocations: 86.05 kB / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.4693, allocations: 74.89 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.4694, allocations: 65.69 kB / 0.821 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.4694, allocations: 12 kB / 0.8211 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.149e-05/0.4695, allocations: 50.3 kB / 0.8211 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.662e-05/0.4696, allocations: 39.03 kB / 0.8211 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.452e-05/0.4697, allocations: 57.08 kB / 0.8212 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.4699, allocations: 184.2 kB / 0.8214 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4699, allocations: 4 kB / 0.8214 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4699, allocations: 0 / 0.8214 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.4699, allocations: 2 kB / 0.8214 GB, free: 14.7 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006303/0.4706, allocations: 430 kB / 0.8218 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.4706, allocations: 10.36 kB / 0.8218 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.4706, allocations: 38.45 kB / 0.8218 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002151/0.4708, allocations: 36.25 kB / 0.8219 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.4711, allocations: 164 kB / 0.822 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.203e-05/0.4711, allocations: 69.77 kB / 0.8221 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.4711, allocations: 6.469 kB / 0.8221 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.4714, allocations: 183.7 kB / 0.8223 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.4714, allocations: 2.141 kB / 0.8223 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.4714, allocations: 1.719 kB / 0.8223 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.4714, allocations: 9.312 kB / 0.8223 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.4716, allocations: 116.9 kB / 0.8224 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008886/0.4725, allocations: 0.5777 MB / 0.823 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.4727, allocations: 86.61 kB / 0.823 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.138e-05/0.4727, allocations: 54.98 kB / 0.8231 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.4728, allocations: 1.5 kB / 0.8231 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001916/0.4729, allocations: 182.2 kB / 0.8233 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.4729, allocations: 0 / 0.8233 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003221/0.4733, allocations: 217.1 kB / 0.8235 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.4733, allocations: 137.1 kB / 0.8236 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.4735, allocations: 191.6 kB / 0.8238 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.4735, allocations: 35.7 kB / 0.8238 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.184e-05/0.4736, allocations: 146.4 kB / 0.824 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.4736, allocations: 26.33 kB / 0.824 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.4737, allocations: 38.55 kB / 0.824 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.211e-05/0.4737, allocations: 324.2 kB / 0.8243 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.237e-05/0.4738, allocations: 92 kB / 0.8244 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.4739, allocations: 168.5 kB / 0.8246 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.4741, allocations: 228.4 kB / 0.8248 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4741, allocations: 0 / 0.8248 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000255/0.4743, allocations: 316.4 kB / 0.8251 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.4744, allocations: 63.91 kB / 0.8252 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4744, allocations: 2.094 kB / 0.8252 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.4744, allocations: 3.938 kB / 0.8252 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.338e-05/0.4745, allocations: 28.98 kB / 0.8252 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.4745, allocations: 4.625 kB / 0.8252 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.794e-05/0.4746, allocations: 31.67 kB / 0.8252 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.4746, allocations: 6.188 kB / 0.8252 GB, free: 11.26 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: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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 prepare postOptimizeDAE: time 0.000102/0.4747, allocations: 171.1 kB / 0.8254 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.4747, allocations: 19.69 kB / 0.8254 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.4747, allocations: 15.44 kB / 0.8254 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.4748, allocations: 1.531 kB / 0.8254 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4748, allocations: 0 / 0.8254 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4748, allocations: 0.7031 kB / 0.8254 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.4749, allocations: 168.9 kB / 0.8256 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4749, allocations: 4.688 kB / 0.8256 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.152e-05/0.4749, allocations: 13.73 kB / 0.8256 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.475, allocations: 2.125 kB / 0.8256 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.475, allocations: 5.406 kB / 0.8256 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.475, allocations: 4.734 kB / 0.8256 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.475, allocations: 1.062 kB / 0.8256 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.4753, allocations: 281.2 kB / 0.8259 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.129e-05/0.4753, allocations: 21.78 kB / 0.8259 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.4753, allocations: 2.281 kB / 0.8259 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.977e-05/0.4754, allocations: 18.8 kB / 0.8259 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.4754, allocations: 10.16 kB / 0.8259 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.4754, allocations: 2.844 kB / 0.8259 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.589e-05/0.4755, allocations: 140.9 kB / 0.8261 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4755, allocations: 0 / 0.8261 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001734/0.4757, allocations: 35.69 kB / 0.8261 GB, free: 10.54 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0004479/0.4761, allocations: 0.8184 MB / 0.8269 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002608/0.4764, allocations: 299.1 kB / 0.8272 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4764, allocations: 0 / 0.8272 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.59e-05/0.4765, allocations: 124 kB / 0.8273 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.4767, allocations: 20.44 kB / 0.8273 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.4785, allocations: 2.228 MB / 0.8295 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.761e-05/0.4786, allocations: 98.52 kB / 0.8296 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.707e-05/0.4787, allocations: 22.02 kB / 0.8296 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.247e-05/0.4787, allocations: 40.16 kB / 0.8297 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of SimCode: time 7.91e-07/0.4787, allocations: 0 / 0.8297 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.4992, allocations: 3.758 MB / 0.8333 GB, free: 6.398 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.876/7.375, allocations: 4.906 kB / 0.8333 GB, free: 6.398 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.141117135994136] Failed to read output from testmodel.py, exit status != 0: 7.453700614627451 7.465723379 6.993795328 Calling exit ...