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.007099/0.007099, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001302/0.001302, allocations: 199.7 kB / 16.68 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9615/0.9615, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 59.91 kB / 0.5851 GB, free: 3.863 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4536/0.4551, allocations: 80.91 MB / 0.6641 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1996/0.6548, allocations: 167 MB / 0.8272 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02985/0.6847, allocations: 17.13 MB / 0.8439 GB, free: 8.82 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002133/0.6869, allocations: 31.81 kB / 0.844 GB, free: 8.789 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.689, allocations: 0.5235 MB / 0.8445 GB, free: 8.262 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005844/0.6949, allocations: 1.647 MB / 0.8461 GB, free: 6.613 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004084/0.699, allocations: 1.39 MB / 0.8475 GB, free: 5.234 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003797/0.7028, allocations: 2.541 MB / 0.8499 GB, free: 2.684 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003338/0.7062, allocations: 1.963 MB / 0.8519 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004295/0.7105, allocations: 1.375 MB / 0.8532 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/0.7122, allocations: 1.023 MB / 0.8542 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005481/0.7127, allocations: 212 kB / 0.8544 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003343/0.7161, allocations: 1.548 MB / 0.8559 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008067/0.7169, allocations: 0.7828 MB / 0.8567 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001524/0.7184, allocations: 1.189 MB / 0.8578 GB, free: 10.58 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004983/0.7234, allocations: 3.555 MB / 0.8613 GB, free: 7.016 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.7235, allocations: 0 / 0.8613 GB, free: 7.016 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7235, allocations: 0 / 0.8613 GB, free: 7.016 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.434e-05/0.7235, allocations: 0 / 0.8613 GB, free: 7.016 MB / 0.6856 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.00499/0.7285, allocations: 2.808 MB / 0.864 GB, free: 4.145 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.7286, allocations: 8.031 kB / 0.8641 GB, free: 4.137 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002671/0.7288, allocations: 244.6 kB / 0.8643 GB, free: 3.887 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003561/0.7324, allocations: 0.5668 MB / 0.8648 GB, free: 3.316 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3547/1.087, allocations: 3.394 MB / 0.8682 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/1.087, allocations: 129.8 kB / 0.8683 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005376/1.088, allocations: 163.1 kB / 0.8684 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003923/1.092, allocations: 1.889 MB / 0.8703 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.639e-05/1.092, allocations: 5.016 kB / 0.8703 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/1.092, allocations: 69.22 kB / 0.8704 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-05/1.092, allocations: 40.22 kB / 0.8704 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004045/1.096, allocations: 2.064 MB / 0.8724 GB, free: 189.7 MB / 0.6856 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.009545/1.106, allocations: 6.176 MB / 0.8784 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003144/1.109, allocations: 2.033 MB / 0.8804 GB, free: 185 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/1.11, allocations: 0.745 MB / 0.8811 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005129/1.111, allocations: 427.7 kB / 0.8816 GB, free: 184.3 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001578/1.112, allocations: 0.9474 MB / 0.8825 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=137): time 3.356e-06/1.112, allocations: 0 / 0.8825 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=137): time 0.006567/1.119, allocations: 2.883 MB / 0.8853 GB, free: 182.1 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/1.119, allocations: 195.3 kB / 0.8855 GB, free: 181.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004544/1.123, allocations: 4.051 MB / 0.8894 GB, free: 180.2 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000304/1.124, allocations: 55.48 kB / 0.8895 GB, free: 180.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006831/1.124, allocations: 0.8736 MB / 0.8903 GB, free: 179.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003424/1.125, allocations: 463.2 kB / 0.8908 GB, free: 179 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003699/1.125, allocations: 231.5 kB / 0.891 GB, free: 178.8 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.197e-05/1.125, allocations: 344.1 kB / 0.8913 GB, free: 178.5 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/1.126, allocations: 0.5558 MB / 0.8919 GB, free: 178.3 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/1.127, allocations: 0.7756 MB / 0.8926 GB, free: 177.8 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002469/1.13, allocations: 1.272 MB / 0.8939 GB, free: 177.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.485e-06/1.13, allocations: 5.031 kB / 0.8939 GB, free: 177.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004803/1.135, allocations: 1.718 MB / 0.8956 GB, free: 176.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/1.135, allocations: 8.656 kB / 0.8956 GB, free: 176.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.135, allocations: 5.891 kB / 0.8956 GB, free: 176.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/1.136, allocations: 210.5 kB / 0.8958 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/1.137, allocations: 311.5 kB / 0.8961 GB, free: 176.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004666/1.142, allocations: 7.317 MB / 0.9032 GB, free: 168.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/1.144, allocations: 149.9 kB / 0.9034 GB, free: 168.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/1.144, allocations: 49.03 kB / 0.9034 GB, free: 168.6 MB / 0.6856 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 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001086/1.145, allocations: 484.2 kB / 0.9039 GB, free: 168.3 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004416/1.146, allocations: 187.8 kB / 0.904 GB, free: 168.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004031/1.15, allocations: 2.053 MB / 0.9061 GB, free: 167.1 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/1.15, allocations: 15.41 kB / 0.9061 GB, free: 167.1 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/1.15, allocations: 9.344 kB / 0.9061 GB, free: 167.1 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/1.15, allocations: 7.969 kB / 0.9061 GB, free: 167.1 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005945/1.156, allocations: 3.953 MB / 0.9099 GB, free: 164.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/1.156, allocations: 3.984 kB / 0.9099 GB, free: 164.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/1.157, allocations: 313.6 kB / 0.9102 GB, free: 164.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001045/1.158, allocations: 205.7 kB / 0.9104 GB, free: 164.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/1.159, allocations: 39.69 kB / 0.9105 GB, free: 164.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004098/1.163, allocations: 7.356 MB / 0.9177 GB, free: 157 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.163, allocations: 0 / 0.9177 GB, free: 157 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003598/1.166, allocations: 1.926 MB / 0.9195 GB, free: 155.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/1.167, allocations: 498.2 kB / 0.92 GB, free: 155 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/1.168, allocations: 28 kB / 0.92 GB, free: 155 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/1.169, allocations: 106.2 kB / 0.9202 GB, free: 154.9 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002473/1.169, allocations: 109.1 kB / 0.9203 GB, free: 154.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/1.169, allocations: 63.95 kB / 0.9203 GB, free: 154.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002726/1.172, allocations: 3.116 MB / 0.9234 GB, free: 151.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.41e-07/1.172, allocations: 0 / 0.9234 GB, free: 151.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00184/1.174, allocations: 0.6425 MB / 0.924 GB, free: 151 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005228/1.179, allocations: 3.13 MB / 0.927 GB, free: 148.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002966/1.182, allocations: 1.992 MB / 0.929 GB, free: 146 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/1.182, allocations: 4.312 kB / 0.929 GB, free: 146 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001654/1.184, allocations: 1.384 MB / 0.9303 GB, free: 144.6 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/1.186, allocations: 0.5218 MB / 0.9309 GB, free: 144.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02512/1.211, allocations: 20.74 MB / 0.9511 GB, free: 123.1 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/1.213, allocations: 1.519 MB / 0.9526 GB, free: 121.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002633/1.215, allocations: 0.5205 MB / 0.9531 GB, free: 121.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009124/1.216, allocations: 0.8741 MB / 0.954 GB, free: 120.2 MB / 0.6856 GB Notification: Performance of SimCode: time 6.11e-07/1.216, allocations: 0 / 0.954 GB, free: 120.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08605/1.302, allocations: 48.16 MB / 1.001 GB, free: 72.49 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.42/16.73, allocations: 2.562 kB / 1.001 GB, free: 72.49 MB / 0.6856 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/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)