Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008044/0.0008043, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000916/0.000916, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.094/1.094, allocations: 135.3 MB / 426.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003113/0.0003114, allocations: 8.688 kB / 0.5071 GB, free: 5.051 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1588, allocations: 82.31 MB / 0.5875 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.4831/0.6419, allocations: 151.5 MB / 0.7355 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01863/0.6606, allocations: 15.87 MB / 0.751 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001477/0.6621, allocations: 30.97 kB / 0.751 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.6634, allocations: 375.3 kB / 0.7513 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003797/0.6672, allocations: 1.279 MB / 0.7526 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003037/0.6702, allocations: 1.097 MB / 0.7537 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002657/0.6729, allocations: 2.467 MB / 0.7561 GB, free: 180 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001993/0.6749, allocations: 1.466 MB / 0.7575 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001777/0.6767, allocations: 0.966 MB / 0.7584 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.6777, allocations: 0.8127 MB / 0.7592 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.6779, allocations: 44 kB / 0.7593 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002277/0.6802, allocations: 1.006 MB / 0.7603 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005459/0.6807, allocations: 0.5761 MB / 0.7608 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004194/0.6812, allocations: 400.4 kB / 0.7612 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002683/0.6839, allocations: 2.552 MB / 0.7637 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.6839, allocations: 4 kB / 0.7637 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.248e-06/0.6839, allocations: 0 / 0.7637 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.283e-05/0.6839, allocations: 7.938 kB / 0.7637 GB, free: 8.297 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: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.003711/0.6876, allocations: 2.365 MB / 0.766 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.6877, allocations: 8.031 kB / 0.766 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002782/0.688, allocations: 244.6 kB / 0.7663 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003461/0.6914, allocations: 0.5707 MB / 0.7668 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004139/0.6956, allocations: 3.297 MB / 0.77 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.6957, allocations: 124.2 kB / 0.7702 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/0.6959, allocations: 160 kB / 0.7703 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003447/0.6994, allocations: 1.885 MB / 0.7722 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/0.6994, allocations: 0 / 0.7722 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/0.6996, allocations: 79.95 kB / 0.7722 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/0.6997, allocations: 43.94 kB / 0.7723 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003464/0.7031, allocations: 2.069 MB / 0.7743 GB, free: 13.28 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009668/0.7128, allocations: 6.251 MB / 0.7804 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003145/0.716, allocations: 2.043 MB / 0.7824 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/0.7174, allocations: 0.7452 MB / 0.7831 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005968/0.718, allocations: 425.7 kB / 0.7835 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001697/0.7197, allocations: 0.9505 MB / 0.7845 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=137): time 2.735e-06/0.7197, allocations: 0 / 0.7845 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137): time 0.006457/0.7262, allocations: 2.903 MB / 0.7873 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.7263, allocations: 201.2 kB / 0.7875 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00507/0.7314, allocations: 4.033 MB / 0.7914 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003406/0.7318, allocations: 53.7 kB / 0.7915 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.7328, allocations: 0.8748 MB / 0.7923 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006432/0.7335, allocations: 465.2 kB / 0.7928 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.7336, allocations: 24 kB / 0.7928 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.7338, allocations: 345.9 kB / 0.7931 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.735, allocations: 0.5569 MB / 0.7937 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.7363, allocations: 0.7813 MB / 0.7944 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.7377, allocations: 0.6388 MB / 0.7951 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.7377, allocations: 0 / 0.7951 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00404/0.7418, allocations: 1.733 MB / 0.7967 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.7418, allocations: 4 kB / 0.7967 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.7418, allocations: 4 kB / 0.7968 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009894/0.7428, allocations: 208.2 kB / 0.797 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.7443, allocations: 323.5 kB / 0.7973 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006017/0.7504, allocations: 6.807 MB / 0.8039 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/0.7521, allocations: 176.9 kB / 0.8041 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000189/0.7523, allocations: 48.59 kB / 0.8041 GB, free: 13.36 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001088/0.7534, allocations: 469.5 kB / 0.8046 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004992/0.7539, allocations: 193.6 kB / 0.8048 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006765/0.7607, allocations: 2.09 MB / 0.8068 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/0.7607, allocations: 12 kB / 0.8068 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/0.7608, allocations: 4 kB / 0.8068 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.142e-05/0.7608, allocations: 11.97 kB / 0.8068 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/0.7715, allocations: 3.966 MB / 0.8107 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.7716, allocations: 3.938 kB / 0.8107 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002074/0.7737, allocations: 323.6 kB / 0.811 GB, free: 6.191 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001272/0.775, allocations: 208.1 kB / 0.8112 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/0.7751, allocations: 35.97 kB / 0.8112 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006651/0.7818, allocations: 6.839 MB / 0.8179 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.7818, allocations: 7.922 kB / 0.8179 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004212/0.7861, allocations: 1.928 MB / 0.8198 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/0.7872, allocations: 0.502 MB / 0.8203 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003815/0.7876, allocations: 35.95 kB / 0.8203 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/0.789, allocations: 143.9 kB / 0.8205 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002468/0.7893, allocations: 105.2 kB / 0.8206 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/0.7895, allocations: 63.95 kB / 0.8206 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003705/0.7932, allocations: 3.1 MB / 0.8237 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7932, allocations: 3.938 kB / 0.8237 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002117/0.7953, allocations: 0.6391 MB / 0.8243 GB, free: 7.855 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006342/0.8017, allocations: 3.135 MB / 0.8274 GB, free: 4.887 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003511/0.8052, allocations: 2.012 MB / 0.8293 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/0.8053, allocations: 0.7969 kB / 0.8293 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002132/0.8074, allocations: 1.383 MB / 0.8307 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003045/0.8105, allocations: 494.8 kB / 0.8311 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03335/0.8438, allocations: 19.1 MB / 0.8498 GB, free: 13.07 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001589/0.8455, allocations: 1.513 MB / 0.8513 GB, free: 11.52 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002453/0.848, allocations: 0.5127 MB / 0.8518 GB, free: 11 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001436/0.8494, allocations: 0.8662 MB / 0.8526 GB, free: 10.13 MB / 0.67 GB Notification: Performance of SimCode: time 8.22e-07/0.8494, allocations: 0 / 0.8526 GB, free: 10.13 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3624/1.212, allocations: 47.21 MB / 0.8987 GB, free: 207.1 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/1.212, allocations: 261.7 kB / 0.899 GB, free: 206.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.088/4.3, allocations: 1.5 kB / 0.899 GB, free: 206.8 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) Environment - environmentSimulation: