Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.0009109/0.0009109, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.002056/0.002056, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.9353/0.9353, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.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.7336/0.7336, allocations: 154.6 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.618 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.509e-05/1.676e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002306/0.002322, allocations: 1.522 MB / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007417/0.003064, allocations: 462.9 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.105e-05/0.003125, allocations: 4 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.948e-05/0.003155, allocations: 7.938 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.207e-05/0.003207, allocations: 11.81 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.003445, allocations: 43.81 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.00356, allocations: 55.72 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.759e-05/0.003658, allocations: 8 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.003797, allocations: 39.89 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.263e-05/0.003859, allocations: 15.98 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.003876, allocations: 4 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.166e-05/0.003917, allocations: 4 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.737e-05/0.003935, allocations: 19.92 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.199e-05/0.003957, allocations: 4 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.004079, allocations: 59.73 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004081, allocations: 0 / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.42e-07/0.004082, allocations: 0 / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.004085, allocations: 0 / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004185/0.004504, allocations: 294.1 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.004544, allocations: 9.469 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.135e-05/0.004575, allocations: 34.75 kB / 0.6206 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.004732, allocations: 28.86 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.004907, allocations: 125.7 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.487e-06/0.004916, allocations: 384 / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.004927, allocations: 4.375 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.005063, allocations: 54.23 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.00507, allocations: 192 / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.005081, allocations: 4.125 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.005087, allocations: 7.938 kB / 0.6208 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.005188, allocations: 43.91 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.005495, allocations: 236 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.005597, allocations: 50.5 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.625e-05/0.005653, allocations: 20.94 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.005668, allocations: 3.938 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.005693, allocations: 38.5 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.005694, allocations: 0 / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002545/0.005948, allocations: 89.61 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.005978, allocations: 55.41 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.313e-05/0.006062, allocations: 125.2 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.006073, allocations: 25.7 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/0.006115, allocations: 88.14 kB / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.006134, allocations: 11.94 kB / 0.6215 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.006165, allocations: 13.72 kB / 0.6216 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.867e-05/0.006254, allocations: 318.8 kB / 0.6219 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.043e-05/0.006304, allocations: 15.98 kB / 0.6219 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.331e-05/0.006347, allocations: 24.16 kB / 0.6219 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.504e-05/0.006442, allocations: 40.78 kB / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.006444, allocations: 4 kB / 0.6219 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001384/0.006583, allocations: 77.55 kB / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.006597, allocations: 6.188 kB / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.006601, allocations: 0 / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.006614, allocations: 4 kB / 0.622 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.975e-05/0.006683, allocations: 11.98 kB / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.006688, allocations: 0 / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.319e-05/0.006721, allocations: 4 kB / 0.622 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.006729, allocations: 4 kB / 0.622 GB, free: 9.406 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 prepare postOptimizeDAE: time 6.648e-05/0.006795, allocations: 114.8 kB / 0.6221 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.006819, allocations: 11.89 kB / 0.6222 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.335e-05/0.006843, allocations: 11.94 kB / 0.6222 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.006846, allocations: 4 kB / 0.6222 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.006849, allocations: 0 / 0.6222 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.006852, allocations: 0 / 0.6222 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.006997, allocations: 144.7 kB / 0.6223 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.006997, allocations: 0 / 0.6223 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.056e-05/0.007038, allocations: 15.94 kB / 0.6223 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.007039, allocations: 0 / 0.6223 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.007046, allocations: 0 / 0.6223 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.007048, allocations: 3.984 kB / 0.6223 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007049, allocations: 4 kB / 0.6223 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.007211, allocations: 167.4 kB / 0.6225 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-06/0.007219, allocations: 0 / 0.6225 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.007232, allocations: 7.984 kB / 0.6225 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.809e-05/0.00729, allocations: 4 kB / 0.6225 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.007321, allocations: 0 / 0.6225 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.007326, allocations: 7.984 kB / 0.6225 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.702e-05/0.007373, allocations: 107.1 kB / 0.6226 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.007373, allocations: 4 kB / 0.6226 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002342/0.007607, allocations: 11.89 kB / 0.6226 GB, free: 8.723 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0003601/0.007967, allocations: 0.6968 MB / 0.6233 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001387/0.008106, allocations: 39.97 kB / 0.6234 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.008108, allocations: 3.938 kB / 0.6234 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.053e-05/0.008158, allocations: 19.98 kB / 0.6234 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.00838, allocations: 4 kB / 0.6234 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.009572, allocations: 1.365 MB / 0.6247 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.109e-05/0.009623, allocations: 71.33 kB / 0.6248 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.143e-05/0.009654, allocations: 4 kB / 0.6248 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.473e-05/0.009699, allocations: 12.5 kB / 0.6248 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of SimCode: time 4.81e-07/0.009699, allocations: 0 / 0.6248 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.02625, allocations: 2.213 MB / 0.627 GB, free: 4.336 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.984/7.01, allocations: 4 kB / 0.627 GB, free: 4.332 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.732546566054225] Failed to read output from testmodel.py, exit status != 0: 7.092220390215516 7.102151975 7.096219583 Calling exit ...